Snap Turn Provider (Action-based)
A locomotion provider that allows the user to rotate their rig using a 2D axis input from an input system action.
Property | Description |
---|---|
System | The LocomotionSystem that this LocomotionProvider communicates with for exclusive access to an XR Origin. If one is not provided, the behavior will attempt to locate one during its Awake call. |
Turn Amount | The number of degrees clockwise Unity rotates the rig when snap turning clockwise. |
Debounce Time | The amount of time that Unity waits before starting another snap turn. |
Enable Turn Left Right | Controls whether to enable left and right snap turns. |
Enable Turn Around | Controls whether to enable 180° snap turns. |
Left Hand Snap Turn Action | |
Use Reference | Enable to reference an action externally defined using the accompanying field. |
Reference | The Input System Action that Unity uses to read Snap Turn data sent from the left hand controller. Must be a InputActionType.Value Vector2Control Control. |
Right Hand Snap Turn Action | |
Use Reference | Enable to reference an action externally defined using the accompanying field. |
Reference | The Input System Action that Unity uses to read Snap Turn data sent from the right hand controller. Must be a InputActionType.Value Vector2Control Control. |