Miarmy Crowd Simulation Documentation (English)

Renewal System

General

In traditional dynamics simulation, agent cannot stand up after enabling dynamics and turning into ragdoll. Even adding servo force which was only able to make agents moving in-place after dynamics. From this version, we have tool which is able to pull agents back from dynamics to action cycle seamlessly. Then, agents can continually join the main logical simulation again.

Agents standup after blasting

Instructions

  • First, we need to specify the relationship between up vector of stomach and the world up vector, different relationship need to different renewal action.
    This sounds a little abstract, let us make an example. In below picture, please notice that the Y+ axis is facing toward

The default pose of Original Agent

 

  • We need to build the transition map, transit the dead action to the normal actions.

transition map setup

 

  • Open Miarmy > Actions > Renew Action Setup Manager
  • If this agent was dead with a pose of lying up into the air. The Y+ axis (0.0, 1.0, 0.0) points to UP, so we need to fill (0.0, 1.0, 0.0) in directional field. Then when this pose, we need to select “deadUp_action_loco” to set back the dynamic agent into action cycle.

 

  • If this agent was dead with a pose of lying down to ground. The Y- axis (0.0, -1.0, 0.0) points to UP, so we need to fill (0.0, -1.0, 0.0) in directional field. Then when this pose, we need to select “deadDown_action_loco” to set back the dynamic agent into action cycle.

 

  • Then we need to use the logic language: dynamics > renewal from dynamics
  • The Simulation Result:

From 1 start dynamic simulation, through 5 renewal from dynamics to action, to 9 transit from dead action to normal action cycle

Auto select dead up due to face up

 

From 1 start dynamic simulation, through 5 renewal from dynamics to action, to 9 transit from dead action to normal action cycle

Auto select dead down due to face down

 

 

 

 

 

Basefount Technology