leggedrobotics / raisimLib

RAISIM, A PHYSICS ENGINE FOR ROBOTICS AND AI RESEARCH
http://www.raisim.com
327 stars 50 forks source link

Some sphere have infinite rotation #42

Closed geotyper closed 4 years ago

geotyper commented 4 years ago

raisim01

In simple example (30 spheres and 30 cubes), find that some sphere have infinite rotation.

raisim::Vec<3> angulatDamp= {0.75, 0.75, 0.75};
ob->setLinearDamping(0.75);
ob->setAngularDamping(angulatDamp);

Need to change some parameters to stop this rotations?

jhwangbo commented 4 years ago

Not exactly sure why this happened but I improved the integration scheme of damping and added unit tests. This issue is probably gone now. Let me know if you still have an issue