reactphysics3d
reactphysics3d copied to clipboard
Limit rigid body rotation on specific axis
I am experimented with a dynamic rigid body as a character controller. It seems that setting setAngularVelocity to 0.0 and setInertiaTensorLocal to identity matrix each tick does not limit the rotation of a capsule. It slowly rotate onto its side.
Do you have an idea how to limit a rigid body on specific axis?
Setting the inertiaTensorLocal to identity does not limit rotation on single axis. It is currently not possible to do this. I still need to implement this feature as you can see in issue #21.