I would like to know if it's possible for the function OnTriggerEnter to apply to a specific child of the object or does it absolutely need to be on the object that use it.
asked Dec 19 '11 at 04:15 AM
if the collider that u use as a trigger is on the child and the script with OnTriggerEnter function as well then you can use it !!...
if it has to be on parent Gameobject for sure then u can attach the script to the parent and from the parent's OnTriggerEnter you can call a function on that specific child using SendMessage function
answered Dec 19 '11 at 04:23 AM