docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRBaseInteractable.MovementType

    Options for how to process and perform movement of an Interactable.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Interactables
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum XRBaseInteractable.MovementType
    Remarks

    Each method of movement has tradeoffs, and different values may be more appropriate for each type of Interactable object in a project.

    Fields

    Name Description
    Instantaneous

    Move the Interactable object by setting the position and rotation of the Transform every frame. Use this if you want the visual representation to be updated each frame, minimizing latency, without making use of a separate visual hierarchy from the physics representation. The object will be able to move through other Colliders without a Rigidbody as it follows the Interactor.

    Kinematic

    Move the Interactable object by moving the kinematic Rigidbody towards the target position and orientation. Use this if you want to keep the object synchronized with its Physics state rather than bypassing through the Transform, and if you want to allow the object to be able to move through other Colliders without a Rigidbody as it follows the Interactor.

    VelocityTracking

    Move the Interactable object by setting the linear velocity and angular velocity of the Rigidbody. Use this if you don't want the object to be able to move through other Colliders without a Rigidbody as it follows the Interactor.

    See Also
    movementType
    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)