On this page |
Overview ¶
Each motion path is a polyline representing the path of an agent over time, where each point is a time sample. At each point on the path, there are attributes that:
-
Describe the position and overall orientation of the agent.
-
Determine a particular sample of a clip to be played back.
-
Describe how to compute the agent’s pose by blending between multiple clips.
Some of the Crowd MotionPath tools manipulate the clip attributes, position attributes, or both.
Motion path attributes ¶
Name | Class | Type | Description |
---|---|---|---|
P
|
point |
vector
|
The agent’s overall position at the time sample. |
transform
|
point |
matrix3
|
The agent’s overall transform at the time sample. |
time
|
point |
float
|
The time (in seconds) that the sample corresponds to. |
custompose
|
point |
group
|
Indicates that the agent’s pose should not be evaluated from the clip-related attributes such as This is intended for editing the paths of animated agents (for example, the output of a crowd simulation) while preserving custom poses produced by tools such as inverse kinematics or ragdoll simulation. |
clipnames
|
point |
string[]
|
The list of animation clips to blend between when evaluating the agent’s pose at the time sample. |
cliptimes
|
point |
float[]
|
The clip time to evaluate each animation clip at.
This should match the length of the |
clipweights
|
point |
float[]
|
The blend weights to use for the animation clips.
This should match the length of the |
cliploops
|
point |
int[]
|
Tracks the number of loops that have occurred for each animation clip.
This should match the length of the |
Layered animation attributes ¶
The following attributes extend the basic animation blending model to describe a tree structure for layering and blending animation clips. These attributes correspond to the primitive intrinsics for layered animation clips.
Name | Class | Type | Description |
---|---|---|---|
cliptransformgroups
|
point |
string[]
|
The name of the transform group to use for each clip. This is used to apply a clip to a subset of the transforms or channels in the skeleton. |
cliplayerids
|
point |
int[]
|
The layer index (into |
cliplayermodes
|
point |
int[]
|
Specifies the blend mode for each layer (the length of this list controls the number of layers in the hierarchy).
The valid values are |
cliplayerweights
|
point |
float[]
|
Specifies the blend weight for each layer.
Like |
cliplayerparents
|
point |
int[]
|
Similar to |