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"

Making a particle attract to a player

I have a coin burst particle effect that generates from a pickup and I am trying to work out the best way to get the particles to go into the player after they have burst. I have tried the different attractor modules within cascade but have been unable to get it to work as intended.

Everything I have been looking at leads me to think that Point Gravity is the way to go but it doesn't seem to attract to the player's world location when I set the vector parameter.

Product Version: UE 4.8
more ▼

asked Aug 03 '15 at 01:20 AM in Using UE4

avatar image

Ruffhaus Games
653 13 9 22

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

You can set the attractor to work with player positions by setting the attractor to world space (check box) and then make sure you check the box for scaling velocity.

Set the world position of the attractor to an Instance Parameter so you can modify it once the FX are spawned.


In Blueprint retrieve the player world location, and store that as a vector, then pass that vector into the world position of the attractor.

Make sure that the radius of the attractor is large enough to account for the distance from your pawn and emitter actor when spawned. (i.e. make it really massive to test)

This is the exact technique I used for the Zen Garden app we shipped for iOS on iPhone6 when all of the Butterflies flock to your touch input location.

more ▼

answered Aug 15 '15 at 01:52 PM

avatar image

[Epic]homeRye STAFF
1.2k 22 3 42

avatar image Ruffhaus Games Nov 15 '15 at 10:10 PM

Hey sorry for the delay, I only just came back to working on this but that did the trick. Ta very much!

avatar image SlimeQ Mar 10 '17 at 06:48 AM

in 4.14 there is no option to add a parameter when right clicking on a point attractor module... am i missing something?

(comments are locked)
10|2000 characters needed characters left

I was just struggling with the Point Attractor to use a Vector Perimeter for location, and I couldn't figure out why it wouldn't work for well over an hour. It appears that you MUST set "DPM_Direct" in all 3 settings under Param Modes for it to accept a new location. If you don't, it will always head for 0,0,0 even if you setup the Vector Parameter under your Particle FX in the actor correctly. It says so in the guide (way at the bottom!), but for some reason, even after looking at it 10 times, I kept missing that part. SUPER IMPORTANT!

more ▼

answered Mar 12 '17 at 05:34 AM

avatar image

123 14 17 37

(comments are locked)
10|2000 characters needed characters left
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