Check Distance To Point
Checks the distance between a transform and a world-space point.
Parameters
| Parameter | Description |
|---|---|
| From Object | Transform to measure from. |
| To Point | Point in space to measure to. |
| Check | Numeric comparison. |
| Distance | Distance value to compare against. |
| True Event | Sent when the comparison is true. |
| False Event | Sent when the comparison is false. |
| Store Result | Optional bool to store the test result. |
Example
- Set From Object to
Agent. - Set To Point to a patrol node position.
- Set Check to
Less Than Or Equal. - Set Distance to
0.25. - Send
NodeReachedon True Event.