Tuesday, 15 May 2012

c++ - How to make collisions affect rotation only on X and Z axes in lib Bullet? -



c++ - How to make collisions affect rotation only on X and Z axes in lib Bullet? -

having terrain , mesh objects placed static throw capsule objects onto world (for illustration agents engine wants navigate).

i need tham bahaive normal collidable objects yet need tham not rotate on 1 axis @ (for me y) agents in "standing" vertical position so:

thay able jump , move... wonder how create collisions impact rotation on x , z axes in bullet?

there methods this, think best case apply setangularfactor() agent stiff body vector (0, 1, 0)

c++ bulletphysics

No comments:

Post a Comment