Original Post
Hi,
I know there exist many tutorials on collision detection. I have read about bounding boxes, spheres, etc and I now know how a sphere reacts to a plane.
But what I don''t know: How do I attach bounding boxes to my model? One simple axis-aligned bounding box seems to be very simple, but what about sub-boxes? How can I attach them to certain points of my model?
For example: Let''s say a player punches another one. If his right hand collides with the head of the other player, he should loose some energy. So it would be cool, if you could attach a box with the name "hand" and "head" and then check them both for collision.
Since I use the md2 model format and don''t want to write my own, some practical tips for this format would be very nice.
Right now, I have a bunch of vertices and don''t know where to start...
Thanks a lot
ClassifiedOne