Formation Manager

If you are using Formation Manager in Playmaker you will see two variables that not are in C#.

isDead

In the FSM of the Agent, you must create a variable type bool with this name

isLeader

In the FSM of the Agent, you must create a variable type bool with this name

NameOfVariablesPM

zLookAhead

The distance to look ahead to the destination. The higher the value the better the agent will avoid obstacles and less keep formation

formationSpeed

The agent move speed as the group is forming and advancing

target

The target that the formation must go to.

TRIANGLE

Length

The length of the triangle

CIRCLE & SEMICIRCLE

concave

(ONLY FOR SEMICIRCLE) If you want that the semicircle will be concave.

radius

The radius of the circle or semicircle.

V & WEDGE

_separation

The separation between agents in the formation.

fill

If you want that the agents fill the formation.

TagOfAgents

The tag of the agents that will be formed.

Load Agents From tag

When you add a new agent in the scene you must click this button to refresh the script.

 

in Formations