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 )
with a call to AreaTrigger: getShapes
Parameters:
| Name | Type | Description |
|---|---|---|
areaTrigger |
AreaTrigger | The area trigger instance. |
detectShapes |
boolean | Shape detection on or off. |