docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method StartClimbGrab

    StartClimbGrab(ClimbInteractable, IXRSelectInteractor)

    Starts a grab as part of climbing climbInteractable, using the position of interactor to drive movement.

    Declaration
    public void StartClimbGrab(ClimbInteractable climbInteractable, IXRSelectInteractor interactor)
    Parameters
    Type Name Description
    ClimbInteractable climbInteractable

    The object to climb.

    IXRSelectInteractor interactor

    The interactor that initiates the grab and drives movement.

    Remarks

    This puts the locomotionPhase in the Started state if locomotion has not already started. The phase will then enter the Moving state in the next Update().

    In This Article
    Back to top
    Copyright © 2023 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)