docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property TrajectoryArray

    TrajectoryArray

    Allows access to the trajectory of the motion synthesizer.

    Declaration
    public NativeSlice<AffineTransform> TrajectoryArray { get; }
    Property Value
    Type Description
    NativeSlice<AffineTransform>
    Remarks

    The trajectory consists out of a series of transforms that correspond to the transform of the root joint over time.

    The sampling frequency and length of the trajectory is defined by the sampling rate and time horizon respectively. Both parameters are defined as a global parameter in the runtime asset.

    The trajectory covers a duration which is twice as long as the time horizon. The first half of the trajectory represents the past movement of the character, whereas the second half represents the future movement of the character.

    All transforms stored in the trajectory are always relative to the current character root transform, i.e. the trajectory is maintained in character space.

    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)