onRotate(onUpdate): void
onUpdate
void
Register the main rotation callback. This is where you call rotate().
Function
Function invoked every tick.
rotationManager.onRotate(() => { // Simple aim step rotationManager.rotate(targetYaw, targetPitch, 8.0); });
Last updated 3 months ago