How to detect colliders inside an object?

How to detect specific Collision Box Colliders within an object?

alt text

The only way you can distinguish between them is if the difference is in Is Trigger, Material, Center or Size. Then when you run OnCollision you would have the check for the wanted collider based on the properties that are different. In your case those would surely be the Center properties, as your colliders don’t have the same center.

I don’t really know why you’re using multiple colliders you want to differentiate for a single game object instead of creating children to the gameobject with separate colliders you can then tag with names, though. That would be way easier to maintain.

Yes, thought about creating children, but I wanted to know if it could be so done, probably can be but it must be very hard, I will do it with children, thank you very much!!