Many of the bullet examples inherit from CommonRigidBodyBase. Objects are picked based on btPoint2PointConstraint. I have analyzed a SimpleBox example. When a falling object is picked it starts rotate around a pick point but rotation decreases with time. After some time a picked object should become stable.
In SimpleBox example I have changed a collision shape form (1,1,1) to (2,2,2):
Code: Select all
btBoxShape* colShape = createBoxShape(btVector3(2,2,2));
When I pick falling object (which is bigger than before) more or less at the same high above the ground it rotates much longer around pick point. Why ?
I wonder how can I control the time which is needed to stabilize object after picking. Let's assume that a gravity is fixed. I have only one idea: assign a bigger mass to the object. Are there any other parameters ?