Objects colliding with triggers
by Neil Marshall · in Torque Game Engine · 09/06/2002 (3:40 pm) · 5 replies
I've added the ability to throw objects in my game by taking some of
this code.
The problem I've run into is the objects are bouncing off of triggers that I have placed in the world for something else. To the user, the objects are bouncing off of nothing.
How do I make it so they go right through the trigger?
this code.
The problem I've run into is the objects are bouncing off of triggers that I have placed in the world for something else. To the user, the objects are bouncing off of nothing.
How do I make it so they go right through the trigger?
#2
Everything works as I'd expect it. Now my question is, what did I break? Why was that defined in the first place?
I can still walk through triggers and I can still drive through triggers, but I must have messed up something. :)
09/07/2002 (11:04 am)
Okay, I got this to work. In item.cc I commented out the TriggerObjectType portion in sServerCollisionMaskEverything works as I'd expect it. Now my question is, what did I break? Why was that defined in the first place?
I can still walk through triggers and I can still drive through triggers, but I must have messed up something. :)
#3
players and vehicles can, is there a flag to set to allow other items to do the same ?
04/30/2003 (8:38 am)
any way to allow items/statics to pass through triggers via script ?players and vehicles can, is there a flag to set to allow other items to do the same ?
#4
06/05/2004 (10:18 am)
Has anyone been able to do this in script?
#5
I've put this on my todo list of patches to look at.
06/05/2004 (12:19 pm)
It might have just been a SNAFU in the original code. There are lots of little things like that. It might have been in there for a good reason that later became irrelevant, but no one changed it back.I've put this on my todo list of patches to look at.
Torque Owner Neil Marshall