Game Development Community

OnCollision callback behaviors

by Christian Rousselle · in Torque Game Builder · 06/05/2007 (3:43 am) · 1 replies

I have a problem with the onCollision callback when using behaviors. In the screenshot below the four objects all have the same behavior assigned. However only for one object onCollision callback is called (and only one particle effect is played) although the ship collides with more than one objects collision circle. If I do not use behaviors but classic class/onCollision callback functionality it works.

www.codecoach.de/shot.jpg

#1
06/05/2007 (6:40 am)
It is even worse :-) I think after Behavior::onCollision() no other collisions are happening for the object that collided...