Main Concepts

Even if Golaem Crowd relies on Maya and Maya particle systems, it introduces new concepts and relationships which need to be understood before starting.

Entity & Entity Type

An Entity corresponds to a simulated 3d crowd character. Each Maya particle connected to a specific Golaem Crowd Field corresponds to an Entity. Each Entity belongs to an Entity Type. The following picture illustrates the concept of Entity in a crowd scene:


Entities of the battle crowd scene.

An Entity Type defines a type of character in the crowd (e.g. front-line soldiers, back-line soldiers, archers...). Entities of the same Entity Type share the same Behaviors: this does not mean that all the Entities of the same Entity Type play the same Behaviors at the same time, it just means that they will all react the same way to the same Triggers. The following picture illustrates how the previous Entities are divided into Entity Types:


Entity Types of the battle crowd scene.

The following picture illustrates the relationship between Maya particles, Entities and EntityTypes:


Relationship between Maya Particles, Entities & Entity Types.

Behavior Container & Behavior

A Behavior Container is an object which encapsulates a graph of Behaviors. Each Entity Type defines its own Behavior Container: all the Behaviors added to an Entity Type Container will be affected to their corresponding Entities.

A Behavior is a built-in and atomic action which can be executed by an Entity (go to a target, play an animation, look at a target...). Behaviors belong to a Behavior Container and can be combined together to create a more advanced action and react appropriately to events. The following picture gi