Rotation
A object to handle rotations, used by Rotation Modules
setLegitWalk(boolean legitWalk): void
setLegitWalk(boolean legitWalk): voidTells the client if it should use the motion fix or not. The motion fix will make the player walk in the direction of the rotation to bypass stricter anti-cheats.
setInstant(boolean instant): void
setInstant(boolean instant): voidIf set to true the rotation will be done instantly without any of the smoothing.
rotate(float yaw, float pitch, float speed): boolean
rotate(float yaw, float pitch, float speed): booleanMakes the player rotate towards the given yaw and pitch at the provided speed. should only be called once each rotation. Returns true if the rotation is finished this tick.
For the rotation to work correctly please only call rotate() once.
Last updated