Hitboxes - Questions
by Trevor Barnett · in Torque Game Engine · 12/04/2001 (1:28 pm) · 1 replies
Building on the tutorial Josh Albrecht wrote about Hitboxes, I've begun another implementation. This implementation dynamically creates Hitboxes for every ShapeBase object (removing the need to actually declare the impact zones for each child) and handles collision seemlessly. One problem I'm having is trying to find the size of each limb as stored in tsShape. I'm also having trouble locking down how the existing Collision code works. I know where ShapeBase->QueueCollision() is called for each object, but I cannot figure out the code that builds CollisionLists and such. Id like to replace that code for the player with my hitbox code. Any help?
About the author
Torque Owner Trevor Barnett