docs.unity.cn
    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 Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Thursday, November 3, 2022
    Terms of use