docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum LocomotionState

    The state of locomotion for any given LocomotionProvider.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Locomotion
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum LocomotionState

    Fields

    Name Description
    Ended

    Locomotion state where the LocomotionProvider is no longer moving, after locomotion end input has completed.

    Idle

    Locomotion state where the LocomotionProvider is idle, before locomotion input occurs.

    Moving

    Locomotion state where the LocomotionProvider is queuing IXRBodyTransformations with the XRBodyTransformer.

    Preparing

    Locomotion state where the LocomotionProvider is getting ready to move, when locomotion start input occurs.

    Extension Methods

    LocomotionStateExtensions.IsActive(LocomotionState)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)