1
I have Gameobject "player" with a box with "Is Trigger" unchecked, IE, is not a Rigger.
In the script associated with the player there is the "Ontriggerenter2d":
//...
void OnTriggerEnter2D (Collider2D o) {
print(o.tag);
}
When the player collides with any object, it performs this function, although the Switch box is not a Rigger.
I have no more box Collider associated with the player and I have no child objects.
I’m using Unity version 5.2.2f1.
I can’t see the Image Philip has some child in this object that could be with the trigger-marked Collider?
– Frohlich
@Frohlich has no children (the information was in the question), but according to Matthew’s answer below, I understood how Rigger works. Thank you for your time.
– Filipe Moraes