Character with several colliders and rigidbodies
- by Lautaro
I am doing a PvP fighting game. This is the GameObject hierarchy of the player character.
Player contains:
Legs
Sword
Torso
Head
I want to be able to
Register impacts of the sword on a specific body part
Use AddForce on the whole player entity when a body part is struck
Change the animation of the player that owns the sword that hit
Questions
Is it correct that the only rigidbody should be on the root Player GameObject ?
Is it correct that The body parts should have colliders and be triggers ?
Is it correct that The swords should have colliders but not be trigger ?