docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct TrajectoryModel

    Namespace: Unity.Kinematica
    Assembly: solution.dll
    Syntax
    public struct TrajectoryModel

    Properties

    Name Description
    Array

    Allows direct access to the trajectory array.

    this[int]

    Allows access to a single element of the trajectory.

    TrajectoryLength

    Denotes the length of the trajectory.

    Methods

    Name Description
    Display(AffineTransform, Color)

    Displays the trajectory model in world space.

    GetRootVelocity(float, float)

    Calculates the root velocity along the current trajectory at a sampling time in seconds passed as argument.

    KeepPastTrajectoryInWorldSpace(AffineTransform)

    Adjust the past trajectory so that trajectory points conserve their world transform after the root transform has been modified.

    RootTransformAtTime(float)

    Calculates a root transform along the current trajectory at a sampling time in seconds passed as argument.

    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)