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.setValues( 0, 0, 0 );
  angularVelocity.setValues( 0, 0, 0 );
  position..setValues( x, y, z )..scale( invScale );
  awake();
}