Balls keep rolling forever #339
-
I can't seem to make balls stop rolling after they start moving. I have tried different friction coefficients for both ball and ground, but it does not make any difference. This behaviour is also seen in the "BouncinessDemo"... What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Friction opposes relative sliding motion on a contact surface. A sphere rolling on a surface can have zero relative velocity at the contact point, so friction cannot stop rolling by itself. (Or, equivalently, friction is why a ball slid across a table will start to roll instead.) There is also a concept of "rolling friction," but that works differently. It arises from material deformation and imperfections that aren't uniformly present in the simulation by default. Twist friction actually does model this; that's why a spinning sphere squeezed tightly by two planes will stop spinning faster than one gently resting on a surface. I could handle this as a part of friction for rolling, too, but it adds a bit of cost and isn't always desirable, so I didn't bake it in. An easy way to introduce an approximation of rolling friction is to instead use damping. The |
Beta Was this translation helpful? Give feedback.
Friction opposes relative sliding motion on a contact surface. A sphere rolling on a surface can have zero relative velocity at the contact point, so friction cannot stop rolling by itself. (Or, equivalently, friction is why a ball slid across a table will start to roll instead.)
There is also a concept of "rolling friction," but that works differently. It arises from material deformation and imperfections that aren't uniformly present in the simulation by default. Twist friction actually does model this; that's why a spinning sphere squeezed tightly by two planes will stop spinning faster than one gently resting on a surface. I could handle this as a part of friction for rolling, too, bu…