sm.pathNode.createPathNode
Create a PathNode
Kind: Function
Environments: Game
Game
sm.pathNode.createPathNode( worldPosition, radius, temporary )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
worldPosition |
Vec3 | The node's world position |
radius |
number | The node's radius |
temporary (optional) |
boolean | Temporary nodes are not saved and relies on lua garbage collection for removal (defaults to false). |
Returns:
| Type | Description |
|---|---|
| PathNode | The path node |