Game Development Community

Turn off collision callback on a tile-by-tile basis...

by Max Kielland · in Torque Game Builder · 09/30/2009 (11:47 pm) · 5 replies

Hello,

I'm working on a platform idea and are using a tile layer. I need a way to turn of the collision callback for "normal tiles" I walk on (hence need the collision poly to prevent falling thru) and only have my "special" tiles to actually do the collision callback.

So far I have only managed to turn of collision callback for all or none of the tiles.
Also, when I "stand" on a tile the callback is called over-and-over-and-over... again. I only want ti to be called once for each time I make contact witht he tile and then stop during the contact duration (more like an enter tile / leave tile event per tile).

Any way to achive this?




#1
10/01/2009 (12:05 am)
I think you might want to ask in the TGB forums, unless I misunderstand your use of 'tiles'.
#2
10/01/2009 (8:09 am)
Ouf, you are right... wrong forum :)
Thanks.
#3
10/01/2009 (3:30 pm)
Moved to the right forum!
#4
10/01/2009 (5:05 pm)
Ohh, then there might be a duplicate, I already created a new thread in the TGB forum... But thanks anyway.
#5
10/07/2009 (8:12 pm)
How do I delete a thread?!?