I am Currently trying to work how how to allow gravity to affect different objects. Currently all objects fall at the same rate irregardless of mass ( as though in a vacuum). I want to be able to allow the objects to fall at different rates (as though on earth). I have tried changing the inertia and masses of the shape with no effect.
How would I for instance be able to simulate the different between a bowling ball being dropped and feather?
I understand that the air is a fluid and so a force is being applied to that effect the feather and bowling ball differently. Is there an easy way to approximate this in the bullet engine?
Currently I am trying
Code: Select all
Shape 1 shape->calculateLocalInertia(1,btVector3(0.5f,0.5f,0.5f));
Code: Select all
Shape 2 shape->calculateLocalInertia(1000,btVector3(0.5f,0.5f,0.5f));
Many thanks