Miarmy Crowd Simulation Documentation (English)

Scale Entire agent

We can dynamically scale up/down our agent by scale output channel, and also the stride of action will be automatically changed.



Agents scale up or down


agentScale
This channel can scale our agent up/down by frame

  • Positive value will scale the agent up (such as 1.2)
  • Negative value will scale the agent down (such as -0.9)


Automatically change sound range and action stride.
If the agent been scale up or down, the sound range will be changed for adapting the current agent, that is means it still can work with sound logic and auto avoid (see Chapter 10, auto avoid). Like the following picture, there are 2 agents selected and the bigger agent has bigger sound range obviously.
Also the action stride will be automatically changed. For example, each walk cycle of bigger agent will move more far than smaller agent.



Scale changed the sound range and action stride


How to cache the agent with scale changing
If we want to cache the agent with scale, we have to enable the cache scale option in Miarmy Tool GUI and then cache and enable cache,


Enable cache scale before creating agent cache

 

 

 

Basefount Technology