DEV Community

GeneralistProgrammer
GeneralistProgrammer

Posted on

1

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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay