Is there a way to add the Debug.DrawLine () functionallity into the gameview ?
i want to draw lines in the game view but i dont like the linerenderer
Thanks in advance
.ORG
Is there a way to add the Debug.DrawLine () functionallity into the gameview ?
i want to draw lines in the game view but i dont like the linerenderer
Thanks in advance
.ORG
I ended up doing this using the mesh interface. Kind of a pain, but…
Also, it was suggested to me that I could use the GL API in Pro (if I had it).
Hey wait a sec, give us a few pointers on how you did this
I’m working on a game where we need some one pixel width lines for telephone wires (as well as other thin cables). Could you clue us in to how you did it Marble?
Is there a performance reason for why Debug.DrawLine () type lines aren’t accessible in Game view?
I don’t know about telephone wires, but here’s a thread where I needed to draw a pixel-thin grid without Pro.
The lines are just quads with width that scales relative to distance from the camera. It works well for my purposes, but at large distances from the camera it flickers as the lines shift between one and two pixels wide.
Of course, I would replace it with a DrawLine function in a heartbeat.