PathNode
Associated namespace: sm.pathNode
A userdata object representing a path node in the game.
Operations:
| Operation | Description |
|---|---|
PathNode == PathNode | Checks if two instances of PathNode refer to the same PathNode. |
functions
connect
pathNode:connect( target )
Server-Only
Creates a PathNode connection.
Parameters:
destroy
pathNode:destroy()
Server-Only
Destroys the PathNode.
Parameters:
pathNode(PathNode): The pathNode.
getPosition
pathNode:getPosition()
Server-Only
Returns the pathNode's world position.
Parameters:
pathNode(PathNode): The pathNode.
Returns:
- (Vec3): The pathNode's world position.