btRigidBody sliding despite friction

jamesm6162
Posts: 6
Joined: Fri Mar 23, 2012 7:18 am

btRigidBody sliding despite friction

Post by jamesm6162 »

Hi all

I created a simple demo app that has a rigid body with a btBoxShape lying on a static rigid body (terrain), that also uses btBoxShape. (That's it)
The terrain body is slightly rotated around the x-axis (0.05 rad).

Despite a combined friction of 10.0 the box is still sliding very slowly down the incline.

I would expect a friction coefficient of 10 to keep the box entirely still.

Does anyone know why this is happening?

Regards

James

PS. This is using Bullet 2.81r2613

[EDIT]: One more thing. I have disabled deactivation on the body, but I am trying to try and bring the body to a stop without using deactivation.