CastCollision position return value
by Luke Larson · in Torque Game Builder · 07/13/2007 (11:25 pm) · 0 replies
Normally in an onCollision callback the parameter "%points" is the exact location of the collision, that is the place where the two edges of the collision polygons meet. I thought that I should be receiving the same behavior as the return position for the CastCollision() function however, I am instead receiving the world position of the object that I called CastCollision() on. Obviously I don't want this as I could just call getPosition so:
Can somebody else verify that this is happening to them or is this how it's supposed to be and am I going to have to figure out where the collision occurred manually?
EDIT: Hmm... after checking the bug fixes for final 1.5 which is what I am using, it seems that this should be fixed but alas no. Anybody else still getting this?
Can somebody else verify that this is happening to them or is this how it's supposed to be and am I going to have to figure out where the collision occurred manually?
EDIT: Hmm... after checking the bug fixes for final 1.5 which is what I am using, it seems that this should be fixed but alas no. Anybody else still getting this?
About the author