Miarmy Crowd Simulation Documentation (English)

Hierarchical placement

Hierarchical placement allows us to place the agents in hierarchical local space instead of world space.

For example, there are 2 ships in scene, and each ship has some agents on it. These agents are walking and doing something on their ship independently while the ships are moving respectively. So the agents on deck will naturally move along with ships while perform their own behaviors. To achieve this, we just need to put the agents into each ship's local transformation space (Maya parenting)


Agents are acting on moving ships


To parent the agents initially into each ships child space, it just need to put their associated place node under ship transform node, the agents who are populated from this node will automatically be the children of ship.

Then, these agents will act in their parent's local space respectively.

Parent place nodes to different spaces


Once agents are placed, they will automatically host to the same parent of place node.



Hierarchical placement, (left) before placing; (right) after placing

 


Basefount Technology