Need to help disable mesh rotation from physics. It used for character rotation for 3rd person camera control direction. It would help if there any thing about it. The controls are a bit hard to movement around.
Here an example:
http://www.babylonjs-playground.com/#1UFLF5#0
A,S,D,W = movement.
I just did some experimentation with my own camera rig attached to a cannon.js physics object. Forcing the angular velocity every frame kind-of worked, but it leaks and doesn't absolutely stop rotation.
What absolutely stopped rotation for me is calling this. ( just once, not on update )
object.physicsImpostor.executeNativeFunction(function (world, body) {
body.fixedRotation = true;
body.updateMassProperties();
});
So, its simple enough in cannon. I don't se