rotationManager

The rotation manager.

Example

rotationManager.setPriority(10);

rotationManager.onRotate((updateNoRotate) => {
    // Aim 45° yaw, 10° pitch at 6°/tick
    rotationManager.rotate(45.0, 10.0, 6.0);
});

rotationManager.onUpdateNoRotate(() => {
    // Called when this module has lost priority to another rotation module
});

Functions

Last updated