Harvestable.setRotation

Set the quaternion rotation of a harvestable. Can only be used on kinematic harvestables.

Kind: Function

Environments: Game

Game

harvestable:setRotation( rotation )

Open the full Game reference

Parameters:

Name Type Description
harvestable Harvestable The harvestable.
rotation Quat The rotation.