sm.pathfinder.getSortedNodes
Find all nearby path nodes
Kind: Function
Environments: Game
Game
sm.pathfinder.getSortedNodes( worldPosition, minDist, maxDist )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
worldPosition |
Vec3 | The position to look in |
minDist |
number | Minimum distance around pos |
maxDist |
number | Maximum distance around pos |
Returns:
| Type | Description |
|---|---|
| table | Table of PathNodes sorted closest to farthest |