Making a always on 2d topdown laser.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By smvd

So there are a lot of tutorials out there for lasers but non seem to work how i need it to.

I’m making a topdown shooter and want there to be a laser coming from the barrel of the rifle to help with aiming. I have a node 2d called Laser_Pointer at the location the laser needs to be cast from. The type of laser i’m looking for is always on.

Do any of you know how to do this or where to find how to do this?

:bust_in_silhouette: Reply From: ejricketts

The node you want is Line2D, have a dig around the documentation and it should make sense!