docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum InteractableFarAttachMode

    Controls how the interactor should adjust its attach transform on far select.

    Namespace: UnityEngine.XR.Interaction.Toolkit.Attachment
    Assembly: Unity.XR.Interaction.Toolkit.dll
    Syntax
    public enum InteractableFarAttachMode

    Fields

    Name Description
    DeferToInteractor

    Let the interactor decide the far attach mode. This is the default behavior.

    Far

    The interactor should always move its attach transform to the far hit point on far select. This will typically result in the interactable object staying distant at the far hit point.

    Near

    The interactor should always reset its attach transform to the near point on far select. This will typically result in the interactable object moving to the hand.

    See Also
    farAttachMode
    InteractorFarAttachMode
    In This Article
    Back to top
    Copyright © 2025 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)