Enum XRBaseInteractable.MovementType | XR Interaction Toolkit | 0.0.6-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Enum XRBaseInteractable.MovementType

    Type of movement for an interactable

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Syntax
    public enum MovementType

    Fields

    Name Description
    Instantaneous

    In Instantaneous Mode the interactable's transform is updated such that the interactable attach point will match the interactor's attach point. as this is updating the transform directly, any rigid body attached to the GameObject that the interactable component is on will be disabled while being interacted with so that any motion will not "judder" due to the rigid body interfering with motion.

    Kinematic

    In Kinematic mode the Rigid Body associated with the interactable will be moved such that the interactable attach point will match the interactor attach point as this is updating the RigidBody, this will appear a frame behind the visual representation of the Interactor / Controller

    VelocityTracking

    In VelocityTracking mode, the Rigid Body associated with the will have velocity and angular velocity added to it such that the interactable attach point will follow the interactor attach point as this is applying forces to the RigidBody, this will appear to be a slight distance behind the visual representation of the Interactor / Controller

    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