Pre motion event
preMotion
The preMotion
event gets called before the player moves. The event's ID is preMotion
.
getForward(): double
getForward(): double
Returns the player's forward input.
getStrafe(): double
getStrafe(): double
Returns the player's sideways input.
getFriction(): double
getFriction(): double
Returns the friction.
setForward(double forward): double
setForward(double forward): double
setStrafe(double strafe): double
setStrafe(double strafe): double
setFriction(double friction): double
setFriction(double friction): double
Last updated