x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Getting a Beam Particle to Follow a Spline

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!

https://forums.unrealengine.com/showthread.php?52404-Getting-a-Beam-Particle-to-Follow-a-Spline

Product Version: Not Selected
Tags:
more ▼

asked Nov 21 '14 at 09:37 AM in Using UE4

avatar image

TheJamsh
815 60 97 140

avatar image viclw17 Nov 20 '17 at 10:56 PM

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. :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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:

alt text

Here is the BP:

alt text

Here is the Results:

alt text

Thank You

Eric Ketchum

splinecascade.jpg (159.5 kB)
splinebp.jpg (304.0 kB)
resultsspline.jpg (92.3 kB)
more ▼

answered Nov 25 '14 at 08:43 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.7k 702 260 735

avatar image TheJamsh Nov 26 '14 at 12:50 PM

Hi Eric,

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).

avatar image Lovecraft_K ♦♦ STAFF Nov 26 '14 at 02:27 PM

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

Eric Ketchum

ah_beamspline.zip (457.5 kB)
avatar image TheJamsh Dec 03 '14 at 04:05 PM

Awesome thanks Eric, 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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Eric , 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...

more ▼

answered Oct 01 '17 at 03:31 PM

avatar image

Dc43
26 1 4 9

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question