Shape.getPipeOffsets
Returns a table offsets for the pipe connections of the shape. Can specify direction using sm.pipeGraph.direction.
Kind: Function
Environments: Game
Game
shape:getPipeOffsets( direction )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
direction (optional) |
integer | The direction to fetch in. Defaults to sm.pipeGraph.direction.any (Optional) |
Returns:
| Type | Description |
|---|---|
| table | table of local offset positions. {Vec3, ..} |