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.
- Behavior Editor / Trigger Library:
- Golaem Menu: Crowd Triggers / Triggers / CrowdTri Distance Node
- MEL command: glmCrowdTriDistanceCmd;
Distance object: Link to the Maya objects / groups to check the distance with.
A comparison operator (equal, greater than…)
A reference value.