Property TrajectoryArray
TrajectoryArray
Allows access to the trajectory of the motion synthesizer.
Declaration
public NativeSlice<AffineTransform> TrajectoryArray { get; }
Property Value
Type | Description |
---|---|
Native |
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.