resetRotation method

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

Implementation

void resetRotation(double x,double y,double z){
  angularVelocity.setValues(0,0,0);
  orientation = Quaternion(0,0,0,1).eulerFromXYZ( x * Math.degtorad, y * Math.degtorad,  z * Math.degtorad );//this.rotationVectToQuad( Vector3(x,y,z) );
  awake();
}