Harvestable.setRotation
Set the quaternion rotation of a harvestable. Can only be used on kinematic harvestables.
Kind: Function
Environments: Game
Game
harvestable:setRotation( rotation )
Parameters:
| Name | Type | Description |
|---|---|---|
harvestable |
Harvestable | The harvestable. |
rotation |
Quat | The rotation. |