Hey everyone,
This is my first post here and here is a small tutorial on how to get the positioin of any object from your level into your niagara system using user parameter and scratchpad. and with that you can make something like this.
Step 1. Create a niagara system, with an emitter of your choice(i used a basic fountain here)
Step 2. Create an ‘Actor Component Interface’ user parameter.
Step 3. Create a scratch pad module in the emitter and wire it up something like this.
Step 4. plug the user parameter you created into the scratchpad’s Actor Component Interface input.
Step 5. Annnnnnd done!
you can now call this position data anywhere in the emitter, here i plugged it into a point attraction force to attract the particles to it (sort of like a homing missile).
I know this can be achieved using blueprints but this is just a little tip for anyone who want to test stuff in a pinch.
also keep in mind that this will get the position of the object’s pivot so the particles will fly to its pivot not its centre, ex:- when you use it on mannequin the particles fly to it’s feet.
sorry the images are blurry, hope this helps Get Actor Position posted by anonymous | blueprintUE | PasteBin For Unreal Engine
(edited to add the rest of the screengrabs and blueprintue link)