How do I find the point of a collision?
by Aidan Sliney · in Torque Game Engine · 03/09/2009 (9:22 am) · 2 replies
How do I find the point of collision between two objects or between the player an object? I've rendered an OpenGL object on the C++ side and now when the player collides with it I want to find the exact point of collision.
Thanks in advance!
Thanks in advance!
#2
03/11/2009 (4:10 am)
Thanks for the help. How do i do a ray cast? Will that give me the polygon I've hit too? I've created a cube using Matt's resource http://www.garagegames.com/community/blogs/view/5414. Are you refering to convexes when you say the collision mesh?
Torque 3D Owner Guimo
Luck!
Guimo