Physics simulation: golf ball on surface

Hi there,

I’m trying to figure out a way to simulate how a golf ball rolls on a mesh according to physics variables such as gravity, slope, friction, etc.
The ball might start stationary, or it might have an initial speed and direction.

Is there an easy way to do this either in Rhino or Grasshopper?

-Jeremy

Seen this topic yet?

1 Like

This is great, but surface friction is critical for this application. I need to know whether the ball will accelerate or decelerate for given slopes. The mesh is quads at 0.2m size.

-Jeremy

Do you know if this may be able to be adapted to include Friction maps?

-Jeremy

This should have friction

Thanks so much. Do you think that it would also take the mass and shape of a golf ball?

-Jeremy

As a comparison I’m sharing a simple example of a spring and correct force units. Unfortunately I don’t know how to add properties to a ball

Thanks Martin.

I’m trying to get a ball to interact with the mesh surface in the attached rhino file and gh file.

Ideally, I want a grid of golf balls at 2.5m spacing which can start stationary, and then start rolling on the mesh. I want the mesh to have a friction coefficient variable, which can be from 0.0000 - 1.0000. The goal is to analyse how far the balls will roll on the surface given an input friction on the mesh.


rollingballfriction (1).gh (2.2 MB)
Friction on Mesh.3dm (18.3 MB)

Not sure if this is easy or not.

-Jeremy

If you must, assume it’s not :bangbang:

A few things.

  1. The Rhino file is obsolete when you internalise the base mesh, your landscape.

  2. The landscape must be a closed mesh for the collision to work.

  3. The ball itself can be defined as a rigid point set. I would only do additional subdivision for display purpose after the solver once everything else runs smoothly.

This way the simulation works. I cannot judge the physical behaviour.

rollingballfriction mrtn.gh (2.0 MB)

2 Likes