aimAtRotation

@JvmName(name = "aimAtRotation")
fun aimAtRotation(rotation: Rotation, fixVelocity: Boolean)

Aims at the given rotation using the in-built RotationManager.

Parameters

rotation

The rotation to aim at.

fixVelocity

Whether to fix the player's velocity. This means bypassing anti-cheat checks for aim-related movement.