AreaTrigger.setCharacterDetection
When set to true the area trigger can calculate which characters are inside of the trigger and get the collision information.
Kind: Function
Environments: Game
Game
areaTrigger:setCharacterDetection( detectCharacters )
with a call to AreaTrigger: getCharacters
Parameters:
| Name | Type | Description |
|---|---|---|
areaTrigger |
AreaTrigger | The area trigger instance. |
detectCharacters |
boolean | Character detection on or off. |