Hi there, i'm just enter in this server searching some help. I'm currently making a 2D Project that wants to emulate the Pokémon Ranger's gameplay (in short terms, sorrounding monsters with circles and catching with them). At the moment I've created a GameObject called LineDrawer with a LineRenderer, an EdgeCollider 2D and a script that manage the line and destroy it when collides with itself.
Unfortunately, as you can see, the result is this. Line is created successfully, and when left mouse button is pressed, is creating a new line (as I want). But I can't get the line to destroy when it collides with itself. How can I fix this?