I’m new with Unity and I need to know how to check if a ball is inside a circle drawn by a line. I keep the collision points of each point of the line in an array to detect if it goes into collision with the ball, and each point of collision has its X - Y points and I need to know if the user has managed to surround the ball with the line that he has drawn.
If you can help me with a little code I would appreciate it.
Thank you.