Open Dante-666 opened 3 years ago
It's depends on the parameters mass and rollingFriction as of now and I've made some observations. The rolling friction doesn't allow the ball to roll when it stops, but it still rolls tangentially to the motion direction which I have to figure out. I think that is causing all the problems.
in Bullet, we have some object flags that can disable deactivation of objects, provide a method to enable this back
The simulation works for other objects, it's just that sometimes when the object stops, the force applied somehow breaks the system. Check what we are passing in before investigating engine. Put up a condition for nan finding and debug more.