resetRotation method

void resetRotation(
  1. double x,
  2. double y,
  3. double z
)

Implementation

void resetRotation(double x,double y,double z){
  angularVelocity.set(0,0,0);
  orientation = Quat().setFromEuler( x * Math.degtorad, y * Math.degtorad,  z * Math.degtorad );//this.rotationVectToQuad( Vec3(x,y,z) );
  awake();
}