resetPosition method

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

RESET DYNAMIQUE POSITION AND ROTATION

Implementation

void resetPosition(double x,double y,double z){
  linearVelocity.set( 0, 0, 0 );
  angularVelocity.set( 0, 0, 0 );
  position.set( x, y, z ).multiplyScalar( invScale );
  awake();
}