I’m trying to create a 2D game that requires the user to draw lines on the screen, the lines need colliders. I’ve heard about graphics.drawmesh however I’m not entirely sure how to go about using that. Is there anyone that can shed some light on the subject? Is it possible to use graphics.drawmesh to accomplish this, and how would I go about using it?
I think you could draw the line with a Line Renderer and generate the collider for it at runtime with an Edge Collider.