Hi
I have an AI which when shot will play an animation and will fall to the ground.
however there are 2 or 3 colliders enabled within the AI Object
1 for the head, 1 for the body, 1 is the Character Controller
I need seperate colliders for the head and stuff becasue i will be taking more health off if the player gets a headshot
But since the object is dead i wont need any of the scripts or colliders or rigidbody or anything
My question is, is there a simple way to remove everything or do i need to use the following code 2 or 3 times.
transform.FindChild("head").transform = GetComponent<BoxCollider>().enabled = false;
Thanks
Likdaboo