The clip reader module reads an animation clip and applies it to the group agents.
...
Attributes | Type | Overridable | Description |
---|---|---|---|
behave3d | bool | no | If true, the agents will move freely in 3D as if they were particles. The Particle operator is going to be applied instead of the Pelvis and Foot Operators. |
clipName | string | yes | The animation clip name. |
fixLegStretch | bool | no | If true, compensate the leg stretching. |
frameRate | string | yesFrequency | at which the frames are read and displayedThe frame rate used for playing the agent animation. |
gravityField | string | no | The name of the gravity field. |
heightField | string | no | The name of the height field. |
heightFieldOffset | double | no | An extra offset applied to your agent heights from the ground. |
seed | int | no | Seed random value. |
startFrame | double | yes | The start frame of the clip. If set to a value lower than 0, a random value is used instead. |
debugĀ | bool | no | Enables module debug drawing. |
maxUpAxisAngle | double | yes | Maximum up axis rotation angle in degrees |
alignUpAxisTresholdAngle | double | yes | Threshold angle used to realign the agent up axis with the global up axis |
sitAdaptation | bool | yes | If on, the agent will adapt to the height field when playing sitting clips. The sitting factor must be properly configured for the clip being played. |
softIkDistance | doubleĀ | yes | The soft ik distance used by the IK algorithm. Set this value to 0 to disable the soft IK |
useClipDirection | bool | yes | If on, the clip direction is used instead of the agent direction metadata |
...