resetQuaternion method

void resetQuaternion(
  1. Quat q
)

Implementation

void resetQuaternion(Quat q ){
  angularVelocity.set(0,0,0);
  orientation = Quat( q.x, q.y, q.z, q.w );
  awake();
}