AreaTrigger.setShapeDetection

Shape detection is off by default. When set to true the area trigger can calculate which shapes are inside of the trigger

Kind: Function

Environments: Game

Game

areaTrigger:setShapeDetection( detectShapes )

Open the full Game reference

with a call to AreaTrigger: getShapes

Parameters:

Name Type Description
areaTrigger AreaTrigger The area trigger instance.
detectShapes boolean Shape detection on or off.