Pre motion event

preMotion

The preMotion event gets called before the player moves. The event's ID is preMotion.

getForward(): double

Returns the player's forward input.

getStrafe(): double

Returns the player's sideways input.

getFriction(): double

Returns the friction.

setForward(double forward): double

setStrafe(double strafe): double

setFriction(double friction): double

Last updated