How to create a laser beam?

Hello everyone, so I’m new to Unity but I’ve been going through unity.learn tutorials so I’m becoming more confident. I’ve gone through the Junior Programming tutorial.

I’d like to create a laser beam that is constant in game. For NPC collisions. How do I create the beam in Unity?

Mobile or PC?

line renderer is probably the easy way,

(can assign some particle material to make it transparent, with noise texture to make it look nicer,
or even custom shader to have laser’ish effect changing densities…)

could use with raycast, to detect where it hits

2 Likes

Did you get through with your laser beam?:slight_smile: