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. |