Shape.getLocalPosition
Returns the local grid position of a shape.
Kind: Function
Environments: Game
Game
shape:getLocalPosition( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The shape's local position. |