Distance Trigger
As of August 5th, 2025, Golaem will no longer provide direct support.
All support for Autodesk Golaem will now be handled exclusively through Autodesk support channels and this website will be deactivated soon.
Please bookmark the Autodesk Golaem Support section for any future support needs related to Autodesk Golaem packages.
The Distance Trigger enables to start or stop a behavior by returning true when the distance between the root bone of an Entity and an object (camera, mesh…) or a group of objects, is successfully compared to a reference value.
Creation
- Behavior Editor / Trigger Library:
- Golaem Menu: Crowd Triggers / Triggers / CrowdTri Distance Node
- MEL command: glmCrowdTriDistanceCmd;
Configuration
Distance Attributes
In Objects | Distance object: Link to the Maya objects / groups to check the distance with.
|
Operator |
A comparison operator (equal, greater than…) |
Value |
A reference value. |
Threshold |
Error allowed between the distance and the reference value for the trigger to return true |
Ramp Attributes
If the Threshold value is set to some values, the Ramp controller will become available
Ramp | Defines the probability at which the trigger will return true. The range of the ramp is [value-threshold; value+threshold] |