Im making a 2D game so i want my enemy to receive damage when my player hits, the issue that i have is that i dont know how to call just the collider box that is in a children of the main objet(in this case the enemy), so it can "comparetag" with the weapon of my player.
I was trying with ontriggerenter2D the issue is that i dont know how to only access to the box colliders of a especific children because there are other children colliders that interfere in the process.
Any one can help me pls? Here are the image references:
![alt text][1]
![alt text][2]
[1]: /storage/temp/182780-replace-that.jpg
[2]: /storage/temp/182781-reference.jpg
@Hellium
↧