Harvestable.transformDirection
Transforms a direction in the world into a local direction of the harvestable
Kind: Function
Environments: Game
Game
harvestable:transformDirection( direction )
Parameters:
| Name | Type | Description |
|---|---|---|
harvestable |
Harvestable | The harvestable. |
direction |
Vec3 | The world direction. |
Returns:
| Type | Description |
|---|---|
| Vec3 | The local direction. |