# How to create a Laser Beam that draws a line hitting objects

**URL:** <https://forums.unrealengine.com/t/how-to-create-a-laser-beam-that-draws-a-line-hitting-objects/393649>\
**Category:** Blueprint\
**Tags:** surface, beam, projection, laser, unreal-engine, Blueprint, question\
**Created:** [May 15, 2017, 12:45pm UTC](https://forums.unrealengine.com/t/how-to-create-a-laser-beam-that-draws-a-line-hitting-objects/393649 "2017-05-15T12:45:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f816278e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f816278e](https://forums.unrealengine.com/u/anonymous_user_f816278e)\
**Post date:** [May 15, 2017, 12:45pm UTC](https://forums.unrealengine.com/t/how-to-create-a-laser-beam-that-draws-a-line-hitting-objects/393649/1 "2017-05-15T12:45:39Z")

</div>

Hello!

In my project I need to display three lasers which draw straight lines on surfaces. These 3 lasers’ sources are placed in a way that their emitted planes intersect in exactly one point - just like in the Cartesian coordinate system where the intersections of the XY, XZ and YZ planes mark the origin and the intersections of two of the planes mark lines - the axes.

Dividing the problem in its parts it would be simple if there is a possibility to draw a line on the object the laser hits. The only requirement is that the line fits to the surface of the object - just like the equator is a line which is projected on the sphere.

I have successfully created a particle system which forms a laser beam. When the laser hits an object the beam target point is set to the intersection’s location. But I have no clue how I can draw another beam/line/something else that adapts to the surface it is impinging or how I can specify a shape for the laser so that it is emitting particles in a plane within an angle of e.g. 10 degrees to the left/right of the forward vector.

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![RobMilliken](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RobMilliken](https://forums.unrealengine.com/u/RobMilliken)\
**Post date:** [June 10, 2018, 2:30am UTC](https://forums.unrealengine.com/t/how-to-create-a-laser-beam-that-draws-a-line-hitting-objects/393649/2 "2018-06-10T02:30:45Z")

</div>

I am not sure I am understanding your entire question… but if you want a laser that draws through an object or only leaves a line (modifies the material directly no matter what type of mesh it is), you can try modifying this tutorial: “Unreal Engine 4 Tutorial - See Through Bullet Holes” [- YouTube](https://www.youtube.com/watch?v=OMQe2hT9xq4) by DasCapschen  
… so that instead of one ‘bullet’ it makes a continuous stream, and maybe lower the ‘bullet hole’ diameter to more match a laser. I hope this helps … even though I know it is over a year ago that you asked the question - may still be relevant to you or others. You could also add ‘sparks’ for where your gun/laser/whatever through particles and give them a short life when the material is altered and ‘hits’.

---

<div class="post-metadata">

**Author:** ![clelin](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@clelin](https://forums.unrealengine.com/u/clelin)\
**Post date:** [October 21, 2022, 11:15am UTC](https://forums.unrealengine.com/t/how-to-create-a-laser-beam-that-draws-a-line-hitting-objects/393649/3 "2022-10-21T11:15:05Z")

</div>

I am having a very similar problem @anonymous_user_f816278e. Did you figure out a solution?
