Back to Pathfinding PlugITs summary
The "Crowd" PlugIT manages automated movements of characters or objects, simulating crowd behaviors. It can be used to create dynamic interactions, movements toward targets, or reactions to obstacles in a 3D environment.
Example: creating a scene where NPCs move through an environment, avoid obstacles, or pursue specific goals.
Parameters |
|
1 |
Defines the character object to be used. |
2 |
Sets the number of characters to duplicate. |
3 |
Initial character direction to ensure it moves correctly according to the model. |
4 |
Model radius to consider for movement. |
5 |
Model height to consider for movement. |
6 |
Walking speed. |
7 |
Running speed. |
8 |
Activates a random starting position. |
9 |
Minimum speed for random movements. |
10 |
Maximum speed for random movements. |
11 |
Activates random stops during movement. |
12 |
Stops the object in case of a physical impulse. |
13 |
Allows the character to pursue a defined target. |
14 |
Target object to reach or follow. |
15 |
Minimum distance to engage the pursuit. |
16 |
Random materials used to create visually different characters. |
17 |
Index of the specific material to replace. |
18 |
Random animations to play when the character is idle. |
19 |
Random walking animations. |
20 |
Walking animation speed coefficient, ensuring the animation matches the movement speed. |
21 |
Random running animations. |
22 |
Running animation speed coefficient, ensuring the animation matches the movement speed. |
23 |
Random jumping animations. |
24 |
Random animations when the character is hit by a physical impulse. |
25 |
Random animations when the character reaches its destination. |
26 |
Activates character creation when the application starts. |
Actions |
|
Reset |
Resets all characters. |
Load |
Loads and starts the characters. |
Set speed |
Sets a new speed for controlled characters. |
Resume |
Resumes movement or actions after a pause. |
Stop |
Immediately stops all characters' movements. |
Run to |
Makes all characters run toward a target, where the link parameter contains an X Y Z position or the name of an object. |
Chase to |
Activates pursuit of a specific target by all characters, where the link parameter contains an X Y Z position or the name of an object. |
Walk to |
Moves all characters toward a defined target, where the link parameter contains an X Y Z position or the name of an object. |
Events |
|
Chase catched |
Triggered when the object catches its target in chase mode. |
Chase out |
Triggered when the target exits the chase radius. |
Chase in |
Triggered when the target enters the chase radius. |
Loaded |
Triggered after the characters are loaded. |
Speed |
Returns the current speed of the character. Triggered only for the main character, not the duplicates. |
Stopped |
Triggered when the character completely stops. Triggered only for the main character, not the duplicates. |
Jump |
Triggered when a jump is performed. Triggered only for the main character, not the duplicates. |
Target reached |
Triggered when the object reaches its target. Triggered only for the main character, not the duplicates. |
Moving |
Triggered when the object starts moving. Triggered only for the main character, not the duplicates. |