Harvestable.setPosition

Set the world coordinates of a harvestable. Can only be used on kinematic harvestables.

Kind: Function

Environments: Game

Game

harvestable:setPosition( position )

Open the full Game reference

Parameters:

Name Type Description
harvestable Harvestable The harvestable.
position Vec3 The position.