Lock Z axis

Yeah, but my problem is: rotating. My object is rotating along Z axis…



Edit:

Ah, i did something wrongly. I’ll test something…



Edit2:

Not works :<

[java] Vector3f omg = orbPhys.getAngularVelocity();

omg.z = 0;

orbPhys.setAngularVelocity(omg);[/java]

In simpleUpdate()… Maybe i’m doing something wrongly again? :stuck_out_tongue:



My object (ball) is rotating and moving, but O-M-G-very-slooow…