docs.unity3d.com
    Show / Hide Table of Contents

    Continuous Turn Provider (Device-based)

    Locomotion provider that allows the user to smoothly rotate their rig continuously over time using a specified 2D axis input.

    DeviceBasedContinuousTurnProvider component

    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 Speed The number of degrees/second clockwise to rotate when turning clockwise.
    Input Binding The 2D Input Axis on the controller devices that will be used to trigger a turn.
     Primary 2D Axis Use the primary touchpad or joystick on a device.
     Secondary 2D Axis Use the secondary touchpad or joystick on a device.
    Controllers The XRControllers that allow turning. An XRController must be enabled in order to turn.
    Deadzone Min Value below which input values will be clamped. After clamping, values will be renormalized to [0, 1] between min and max.
    Deadzone Max Value above which input values will be clamped. After clamping, values will be renormalized to [0, 1] between min and max.
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023