Skip to main content

You can find out the tag or name of the objects that collided, this information is stored in the Collider otherCollider other you pass to the OnTriggerEnter(Collider other)OnTriggerEnter(Collider other) function.

Deciding who hit who is something you need to set the criteria for.

You can find out the tag or name of the objects that collided, information is stored in the Collider other you pass to the OnTriggerEnter(Collider other) function.

Deciding who hit who is something you need to set the criteria for.

You can find out the tag or name of the objects that collided, this information is stored in the Collider other you pass to the OnTriggerEnter(Collider other) function.

Deciding who hit who is something you need to set the criteria for.

Source Link

You can find out the tag or name of the objects that collided, information is stored in the Collider other you pass to the OnTriggerEnter(Collider other) function.

Deciding who hit who is something you need to set the criteria for.