dalyk
03-03-2009 12:04:38
Hi, I am currently doing my dissertation project for AGT, and I need to provide a type of hitbox around the character for collision.
Bassically I want to create bodies around the main areas of the characters (torsa, arm head), But use a Capsule for the actual movement, and outer body collision.
I need the program to check whether there has been a collsion in the capsule first, before checking which body part it has hit.
A body part can only be checked if the capsule has been collided with first, since this will save time.
What I want to know is, can this be done, and what would the process be in acheiving this.
Please could yo provide some code reference.
Thanks
Kyle
Bassically I want to create bodies around the main areas of the characters (torsa, arm head), But use a Capsule for the actual movement, and outer body collision.
I need the program to check whether there has been a collsion in the capsule first, before checking which body part it has hit.
A body part can only be checked if the capsule has been collided with first, since this will save time.
What I want to know is, can this be done, and what would the process be in acheiving this.
Please could yo provide some code reference.
Thanks
Kyle