OnCollision sending empty information [please move this to Kart Kit forum]
by Diego Santos Leao - GameBlox Studio · in Torque Game Builder · 12/03/2009 (1:46 pm) · 2 replies
Hi guys, I'm having some problems with the OnCollision callback on TGB Kart Kit.
When I use the onCollision method of a t2dSceneObject...
...the properties of it (%srcRef, %dstRef, %time, %normal, %contacts and %points) are empty.
Anybody have had this problem?
Other problems:
Any answer will be useful!!
Thanks!
When I use the onCollision method of a t2dSceneObject...
function wallCollision::onCollision(%this, %object, %srcRef, %dstRef, %time, %normal, %contacts, %points)
...the properties of it (%srcRef, %dstRef, %time, %normal, %contacts and %points) are empty.
Anybody have had this problem?
Other problems:
- All resolve collisions of TGB (clamp, sticky) are having the same behavior.
- The onCollision method is beeing called without any collision.
Any answer will be useful!!
Thanks!
About the author
Creative director at Gameblox Interactive, a game studio focused on downloadable games and advergames. www.gameblox.net - contact@gameblox.net.
#2
12/04/2009 (9:30 pm)
Yes, I did... And sorry, this should have been posted on TGB Kart Kit forum, as it is a modified version of TGB... Could a moderator move this thread there, please?
Torque 3D Owner XanthorXIII