Shape.getClosestBlockLocalPosition
Transform a world position to the closest block's local position in a shape.
Kind: Function
Environments: Game
Game
shape:getClosestBlockLocalPosition( position )
Parameters:
Returns:
| Type | Description |
|---|---|
| Vec3 | The closest position. |