Versions Compared

Key

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

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


Image Modified
Agents scale up or down


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

...


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.


Image Modified
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,


Image Modified

Enable cache scale before creating agent cache