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 : int

    Fields

    Name Description Value
    Default

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

    0
    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.

    1
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Wednesday, October 27, 2021