sm.pathNode
Associated object type: PathNode
Path node creation
Functions:
sm.pathNode.createPathNode(worldPosition, radius)
Server only
Create a PathNode
Parameters:
| Type | Name | Description |
|---|---|---|
| Vec3 | worldPosition | The node's world position |
| number | radius | The nodes's radius |
Returns:
| Type | Description |
|---|---|
| PathNode | The path node |