Trigger collision
by Martin Kaspar · in Torque Game Builder · 11/13/2010 (4:58 pm) · 1 replies
Hello,
I have 2D tilemap and player. On tiles I defined collisions. Player uses physics so all works ok. For doors I use triggers. But I have problem that if I turn on collision on triggers and trigger is near door or wall with collision it pushes player toward door or wall and it jump back or through. I would like to turn off collision on triggers, but then it dont launch onEnter or OnLeave callback. Is it there any solution?
I have 2D tilemap and player. On tiles I defined collisions. Player uses physics so all works ok. For doors I use triggers. But I have problem that if I turn on collision on triggers and trigger is near door or wall with collision it pushes player toward door or wall and it jump back or through. I would like to turn off collision on triggers, but then it dont launch onEnter or OnLeave callback. Is it there any solution?
About the author
Torque Owner Martin Kaspar
Default Studio Name