Miarmy Crowd Simulation Documentation (English)
How to Build Transition Map
Make sure we are in transition map mode (turn off the simple transition in Miarmy Global)
Turn off Simple Transition Mode
Open Transition Map in shelf
Build Transition Map
Create State
Right click anywhere to prompt menu and create state
Right click menu
Connect States and Create Transition
In below pictures, if we want to connect from walk to run, we need first select walk and ctrl + click add select run, and right click anywhere and select connect, a walk to run connection will be created, also the transition node will be created.
Connect 2 nodes
create another connection with reverse direction
Setup Transition Map
Double click state or transition to open the setup window
Double click state, prompt the cycle action shells setup window
double click transition, prompt the transition action shells setup window
What is Action Shell
We can insert action name and build blends and action groups in above editors.
But there is an important concept is Action Shell.
The action shell is different from action, it can be filled as wish in transition map and it can be used to build the transition map fast.
Only when the action shell name is the same as action name, the system will work.
For example if we fill 3 action shells in walk state, but there are only 2 actions in scene, the transition map will display the correct action name as white color and the wrong action name as red one.
Action shell in transition map VS real action nodes in Original Agent
Create Action Shell in Transition Map
- Fill cycle action shells:
- double click to open the state node
- click "create"
- fill cycle action name
- If OK, the state will hook the action shell
- Loop steps 1-4 and add more cycle actions
Cycle action host on a state
- Fill transition action shell:
- Double click transition node.
- Hit "create" to insert transition action shells into transition node
- If OK, the transition action shell appear in transition map.
Transition actions host on transition node
- Action Blends:
- Select walk in cycle action shell list
- In "blends" list hit "create" and create an action shell "walkHappy"
- If OK, please check the transition map state "walk"
Blend action link to an another action
- Action Group Create:
- Select some action shells in state
- click "action group" button and assign "cheer"
- cheer action group created and all action shells inside
- If OK, information will be feedback in transition map
- (we can also create multiple groups in single state)
Create Action Group
Basefount Technology