u/EntrepreneurNo4757

▲ 1 r/unity+1 crossposts

How do I let an image touch another image

So I am making a very simple game.

https://preview.redd.it/74l83osl161h1.png?width=456&format=png&auto=webp&s=9ea8809209f9dd8a948f7aa959ee4ad774162155

Ten circles move around inside a box
When I click in the box, a ring appears.
When this ring appears, then if the ring touches a circle, another (new) ring is made and touches other circles.

There is this code inside the circle:

private void OnTriggerEnter2D(Collider2D other)
{
if(other.CompareTag("Ring"))
{
Instantiate(Ring);
}
}

The problem is the ring doesn’t appear when touching a circle!! ( the OnTrigger event is not called)

Please help 

reddit.com
u/EntrepreneurNo4757 — 11 hours ago