Skip to main content
4 of 5
added 48 characters in body
Thien
  • 13
  • 1
  • 4

Unity: Detect Child Trigger inside Parent Script

I want to detect when a Child's collider is being triggered to apply the damage to the thing being hit. But currently I'm confuse how it work. Does the Parent's OntriggerEnter detect the trigger event of the Child Object ? And how do I know the trigger come from the Child and not the Parent and know which Child's collider got triggered ?

The Parent's collider is not trigger but the Child's collider is

enter image description here

Thien
  • 13
  • 1
  • 4