I have created a wrapper for Ogre and Bullet to create some test simulations. Everything is going fine, I have even included a debug drawer and the primitive collision shapes - box, sphere, cylinder and capsule. Out of these 4, just the capsule is acting really weirdly.
I spawn a capsule shaped object with a capsule collider and they fall to the ground, reacting properly, but then they continue to roll infinitely, never stopping. Damping is on - angular and linear, friction is 0.8 for all objects in the simulation to keep things simple, restitution is 0.5, everything weights 1 kg. Cylinder rolls but slows down and deactivates after couple of seconds.
Can't figure this out... Any ideas? I have tried searching, but nothing relevant popped out
A simple youtube video to illustrate the problem. Everything works OK, but capsules keep rotating and never deactivate themselves.
http://www.youtube.com/watch?v=Hr7mHohcZiU
Hopefully, I will be able to release the code, but I have to clean things a little before that happens, so no actual code available. However I am not doing anything fancy, everything is taken from Bullet documentation or samples.