DEV Community

GeneralistProgrammer
GeneralistProgrammer

Posted on

Unity line renderer tutorial

So if you have worked with raycasts before in any game engine you would know how painful it can be to debug them. For that you may want to use a line renderer to draw a raycast for you. You might want to create laser beams. All this can be achieved with line renderers. You may also just want to create a tightrope in your game which you can draw with line renderers between any two objects.
Here is a full tutorial on how you can achieve this with unity 2d line renderers.
https://generalistprogrammer.com/unity/unity-line-renderer-tutorial/

Top comments (0)