AreaTrigger.setHarvestableDetection

When set to true the area trigger can calculate which harvestables are inside of the trigger and get the collision information.

Kind: Function

Environments: Game

Game

areaTrigger:setHarvestableDetection( detectHarvestables )

Open the full Game reference

with a call to AreaTrigger: getHarvestables

Parameters:

Name Type Description
areaTrigger AreaTrigger The area trigger instance.
detectHarvestables boolean Harvestable detection on or off.