Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The state machine module builds a state machine network for the group agents. It also handles state changes during the simulation.


...

Attributes

AttributesTypeOverridableDescription
behave3dboolnoIf 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.
fixLegStretchboolnoIf true, compensate the leg stretching.
frameRatestringyesFrequency at which the frames are read and displayed.
gravityField

string

noThe name of the gravity field.
heightFieldstringnoThe name of the height field.
heightFieldOffsetdoublenoAn extra offset applied to your agent heights from the ground.
seedintnoSeed random value.
startFramedoubleyesThe start frame of the state machine clips. If set to a value lower than 0, a random value is used instead.
stateintyesThe current state.
debugboolnoEnables module debug drawing.
stateRandomDelayvector2yesThis attribute accept a range (by default is 0,0). If you put a range of 5, 20 then every agent will have a random delay between 5 to 20 frame when changing state. If you want a specific delay without the random, use the same value in both the vector components, i.e. 5,5.

...