sm.pathNode
Associated object type: PathNode
Path node creation
Functions:
sm.pathNode.createPathNode(worldPosition, radius, temporary?)
Server only
Create a PathNode
Parameters:
| Type | Name | Description |
|---|---|---|
| Vec3 | worldPosition | The node's world position |
| number | radius | The node's radius |
| boolean | temporary? | Temporary nodes are not saved and relies on lua garbage collection for removal (defaults to false). |
Returns:
| Type | Description |
|---|---|
| PathNode | The path node |