docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AdjustTrajectory

    AdjustTrajectory(AffineTransform, bool)

    Allows for non-continuous root displacements.

    Declaration
    public void AdjustTrajectory(AffineTransform deltaTransform, bool bKeepPastTrajectoryInWorldSpace = false)
    Parameters
    Type Name Description
    AffineTransform deltaTransform

    Delta transform to be applied to the character root transform.

    bool bKeepPastTrajectoryInWorldSpace

    If true, past trajectory will stay at the same location in world space, otherwise it will follow the root transform

    Remarks

    This method can be used to teleport the character by utilizing a displacement transform.

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