docs.unity3d.com
    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
    Syntax
    public enum AttachPointCompatibilityMode

    Fields

    Name Description Value
    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.

    Back to top
    Terms of use
    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