docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method ComputeDesiredMove

    ComputeDesiredMove(out bool)

    Determines how much to move the rig.

    Declaration
    protected override Vector3 ComputeDesiredMove(out bool attemptingMove)
    Parameters
    Type Name Description
    bool attemptingMove

    Whether the provider is attempting to move.

    Returns
    Type Description
    Vector3

    Returns the translation amount in world space to move the rig.

    Overrides
    ConstrainedMoveProvider.ComputeDesiredMove(out bool)
    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)