New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btMultiBody simulation instability / explosion of energy #290
Comments
I've modified the MultiBodyVehicle demo to use my btMultiBody construction code. At the top of MultiBodyVehicle.cpp, you can modify two constants (FIXED_STEP, NUM_MULTIBODIES) to change the time step used, or change the number of btMultiBody in the simulation. |
That's great, thanks for the reproduction case. I am tracking down the issue now. |
I tracked down some causes of instability. One of them is self-collision can cause near-singular configurations where resolving the collision adds a lot of energy. We can add a fix/hack for this, but I need to figure out if that is ok to do. Another potential instability is rotational gain, probably due to coriolis forces, but it could be a bug too. Enabling some damping reduces/hides this issue. I'll post again when I find out more. |
I fixed some issue that was leading to the self-collision 'explosion', see #295 |
In some cases the new btMultiBody simulation is unstable, and gains a lot of energy. This needs to be tracked down and fixed. See also http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=10237
The text was updated successfully, but these errors were encountered: