Using BSP with high gravity.

Linaxys

22-08-2009 20:04:27

Hello,
I want to use BulletPhysics into my project, inside a BSP map.
Once the BSP map is loaded, I really must set the gravity to -9.81*32 (in Quake3, 1 unit = 32) and the cubes are falling properly.
But once they are on the ground, they are shaking themselves when they are not supposed to.

Does anyone have an idea please ?

Thanks.

Fish

23-08-2009 14:17:09

Try increasing the friction of the boxes and/or reducing the restitution of the boxes.

Edit: You can also try improving the quality of the physics simulation by playing with the stepSimulation() method. You might find more specifics by searching the Bullet Forums.

-Fish