mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
fixes for trigger onenter/onleave
1- corrects onleavetrigger for deletions 2-adds a testObjects to trip onenter when creating or moving a trigger itself so that that will list objects already there as opposed to only going off when something moves into it
This commit is contained in:
parent
341c7eeee1
commit
8ecb474a67
2 changed files with 21 additions and 2 deletions
|
|
@ -123,6 +123,7 @@ class Trigger : public GameBase
|
|||
|
||||
static void consoleInit();
|
||||
static void initPersistFields();
|
||||
void testObjects();
|
||||
bool onAdd();
|
||||
void onRemove();
|
||||
void onDeleteNotify(SimObject*);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue