Game Development Community

Collision Detection in TGE

by Daniel Lee · in Torque Game Engine · 03/30/2003 (9:07 pm) · 1 replies

hi all experts,

Now I'm dealing with the collision detection betwwen the players and the DTS objects. May I know with parts of the codes in TGE is responsible for collision detection? I've check the Player class of the demo game and I find that i cannot find the code for collision with different objects... ~_~

Thanks for advance~

#1
03/31/2003 (10:46 am)
Look for the function "castRay" - it is used for all collision handling. Also, I'm pretty sure SceneGraph manages the whole castRay scheme.