docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum XRGrabInteractable.AttachPointCompatibilityMode

    Controls the method used when calculating the target position of the object.

    Namespace: UnityEngine.XR.Interaction.Toolkit
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum XRGrabInteractable.AttachPointCompatibilityMode

    Fields

    Name Description
    Default

    Use the default, correct method for calculating the target position of the object.

    Legacy

    Use an additional offset from the center of mass when calculating the target position of the object. Also incorporate the scale of the Interactor's Attach Transform. Marked for deprecation. This is the backwards compatible support mode for projects that accounted for the unintended difference when using XR Interaction Toolkit prior to version 1.0.0-pre.4. To have the effective attach position be the same between all XRBaseInteractable.MovementType values, use Default.

    See Also
    attachPointCompatibilityMode
    In This Article
    Back to top
    Copyright © 2024 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)