Harvestable.transformPoint
Transform a world point to the local harvestable transform.
Kind: Function
Environments: Game
Game
harvestable:transformPoint( vector )
local localPos = self.harvestable:transformPoint( worldPos )
Parameters:
| Name | Type | Description |
|---|---|---|
harvestable |
Harvestable | The harvestable. |
vector |
Vec3 | The world point. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The local point. |