# Getting a Beam Particle to Follow a Spline

**URL:** <https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524>\
**Category:** Rendering\
**Tags:** tangents, unreal-engine, Spline, question, Blueprint\
**Created:** [November 21, 2014, 9:37am UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524 "2014-11-21T09:37:19Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [November 21, 2014, 9:37am UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/1 "2014-11-21T09:37:19Z")

</div>

I’d like to mirror a thread I have going on at the forums, as I think I’ve done everything correctly.

I’m trying to get a Beam particle to emulate a spline (I want the spline to update it’s positions in realtime, and there are a total of 16 splines each with 64 points in our game, so spline meshes are too performance intensive). I think I’ve set everything up correctly, but for some reason my beam is taking the longest possible route to the spline. Inverting the Tangent Vectors doesn’t give me the correct result either.

Is this a bug or an error on my part? Images in the thread!

> **[Getting a Beam Particle to Follow a Spline](https://forums.unrealengine.com/showthread.php?52404-Getting-a-Beam-Particle-to-Follow-a-Spline)**
>
> Has anybody attempted getting a Particle Beam to follow along a Spline? I have a spline component with a set number of points, and I want to be able to visualize the smooth path in-game. Originally I turned to Spline Meshes but as Beam Particles...

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [November 25, 2014, 8:43pm UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/2 "2014-11-25T20:43:59Z")

</div>

Hi TheJamsh -

I think you were there, I have a tendency however to use the Particle Vector Parameters in my setup.

Here is the Cascade:

 ![22178-splinecascade.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/9/14927232f700499fb20848a0d4f043f1584295c8.jpeg)

Here is the BP:

 ![22179-splinebp.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/3/f/63fcf18695fbd4ed30e9001b1d4e371f12ab2ee8.jpeg)

Here is the Results:

 ![22180-resultsspline.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/2/d/62de070a0629d94ab31f9a5f45ac5ba3136ef8ef.jpeg)

Thank You

Ketchum

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [November 26, 2014, 12:50pm UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/3 "2014-11-26T12:50:45Z")

</div>

Hi ,

Thanks for taking a look. I still can’t get the results you have above, my splines just seem to fire off in a random direction even with the same set-up as yours.

I don’t suppose you’d be able to upload the files you used to create the spline above would you?

(I’m in 4.5.1 btw).

---

<div class="post-metadata">

**Author:** ![Lovecraft\_K](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Lovecraft\_K](https://forums.unrealengine.com/u/Lovecraft_K)\
**Post date:** [November 26, 2014, 2:27pm UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/4 "2014-11-26T14:27:09Z")

</div>

Hi -

Sorry one of the important things and I forgot to mention it, try this first, change the Source Strength and Target Strength both to 1. I’ve also attached the zip of the project for you to dig through.link text

Ketchum

---

<div class="post-metadata">

**Author:** ![Jambax](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jambax/32/904177_2.png) [@Jambax](https://forums.unrealengine.com/u/Jambax)\
**Post date:** [December 3, 2014, 4:05pm UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/5 "2014-12-03T16:05:21Z")

</div>

Awesome thanks , I got it working, using a combination of my method and yours I can get a single emitter with beams to follow any length of spline, very happy!

I still can’t quite work out why you subtract 2 from the initial count, I think that’s where I was going wrong before.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_76df31c4](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_76df31c4](https://forums.unrealengine.com/u/anonymous_user_76df31c4)\
**Post date:** [October 1, 2017, 3:31pm UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/6 "2017-10-01T15:31:08Z")

</div>

Hey , I too needed something just like this. I had one problem if you could help me out here.  
I want the beam to be in XY plane but when I draw the spline dynamically the beam changes its plane and it looks really weird.  
Thanks a lot…

---

<div class="post-metadata">

**Author:** ![viclw17](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viclw17/32/696857_2.png) [@viclw17](https://forums.unrealengine.com/u/viclw17)\
**Post date:** [November 20, 2017, 10:56pm UTC](https://forums.unrealengine.com/t/getting-a-beam-particle-to-follow-a-spline/299524/7 "2017-11-20T22:56:04Z")

</div>

Thanks for the screenshots! Finally get it working.

BTW, for whoever still figuring out, remember to set the Param Mode “DPM Direct”. This is important to make it work for blueprint editable particle system parameters. 🙂
