t2dTriggers Appear Broken [Non-Issue]
by Justin Proffitt · in Torque Game Builder · 09/05/2011 (10:35 pm) · 0 replies
I am implementing t2dtriggers into my game and thought that they had been working perfectly but I appear to be WRONG. I had been adjusting the collision groups of one when I noticed that there appeared to be no rhyme or reason to conditions that allowed an "onEnter" callback to be called. For instance, consider the three following situations:
Situation 1:
T2DTrigger graph group is set to 3
Test object group is set to 3
Situation 2:
T2dTrigger group is set to None
Test object group is set to 3
Situation 3:
T2DTrigger group is set to 0
Test object group is set to anything but 0
(In all situations both objects have their collision/callbacks on and all collision layers enabled)
In situation 1 there is no "onEnter" callback, while in situations 2 and 3 there are callbacks. It doesn't make any sense.
I am almost certain this is a bug in the engine itself, so I am just curious if someone is aware and perhaps if there is a fix out there for pro users. I would greatly appreciate simply knowing I'm not alone in this.
Edit: My brain skipped a beat and I forgot you need to adjust the graph groups, these work perfectly fine -_-
Situation 1:
T2DTrigger graph group is set to 3
Test object group is set to 3
Situation 2:
T2dTrigger group is set to None
Test object group is set to 3
Situation 3:
T2DTrigger group is set to 0
Test object group is set to anything but 0
(In all situations both objects have their collision/callbacks on and all collision layers enabled)
In situation 1 there is no "onEnter" callback, while in situations 2 and 3 there are callbacks. It doesn't make any sense.
I am almost certain this is a bug in the engine itself, so I am just curious if someone is aware and perhaps if there is a fix out there for pro users. I would greatly appreciate simply knowing I'm not alone in this.
Edit: My brain skipped a beat and I forgot you need to adjust the graph groups, these work perfectly fine -_-
About the author
I am a college student majoring in physics. As it so happens I like programming, a hobby which extends my profession in web design.