Rotation

A object to handle rotations, used by Rotation Modules

setLegitWalk(boolean legitWalk): void

Tells 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

If set to true the rotation will be done instantly without any of the smoothing.

rotate(float yaw, float pitch, float speed): boolean

Makes 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