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?
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?
About the author
Owner of MK Development www.mkdevelopment.se
Torque Owner Daniel Buckmaster
T3D Steering Committee