docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method MoveRig

    MoveRig(Vector3)

    Creates a locomotion event to move the rig by translationInWorldSpace, and optionally applies gravity.

    Declaration
    protected virtual void MoveRig(Vector3 translationInWorldSpace)
    Parameters
    Type Name Description
    Vector3 translationInWorldSpace

    The translation amount in world space to move the rig (pre-gravity).

    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)