bullet3 icon indicating copy to clipboard operation
bullet3 copied to clipboard

Spinning friction only applied if rolling friction > 0

Open esoma opened this issue 2 years ago • 2 comments

https://github.com/bulletphysics/bullet3/blob/101c98cfb8fd297ebae6007fd10619f74c4a9748/src/BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp#L1058-L1078

The multi body solver appears to handle this correctly: https://github.com/bulletphysics/bullet3/blob/5ae9a15ecac7bc7e71f1ec1b544a55135d7d7e32/src/BulletDynamics/Featherstone/btMultiBodyConstraintSolver.cpp#L1341-L1344

I've fixed this locally by employing the same logic. Happy to make a PR if this would be the intended behavior.

esoma avatar Mar 05 '22 18:03 esoma

Thanks, well spotted, please create a PR. We mostly use multibody for robotics, so we didn't notice it.

erwincoumans avatar Mar 16 '22 13:03 erwincoumans

@erwincoumans #4205

esoma avatar Mar 16 '22 13:03 esoma