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"

How do you attach a particle system to the camera?

Hello, i'm new to UE4, but i'm trying to find out if we can attach a particle system to the camera, so it's always around us no matter where we go. I've looked up everywhere i could and seen many tutorials for attaching a mesh to the skeletal mesh of the character, but when i try this technic even when i create a socket i can't find out how to show that socket on the socket selector of the mesh, well i mean the search function for the sockets doesn't show anything.

Well at this point i don't know if it possible to attach a particle system to the camera, and i don't even succeed at connecting any mesh to anything. So if anybody can help me or tell me that i'm an idiot it would be awesome.

Thanks

Product Version: UE 4.19
Tags:
more ▼

asked Sep 20 '18 at 10:15 PM in Using UE4

avatar image

Maxarre
1 1 2

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

2 answers: sort voted first

Ok so it does work, i added some nodes in the event graph of my character blueprint. Now it follows the camera, character, wherever i go.

Here's a screenshot of the nodes. alt text

And thanks for the helping hand lllDysphoriclll, really appreciated.

more ▼

answered Sep 21 '18 at 06:48 AM

avatar image

Maxarre
1 1 2

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

You aren't an idiot, man. This engine can be complicated to learn, so don't be down on yourself.

This is pretty easy to do, though. In the Blueprint for your player character which has the camera you mentioned, go over to the Components panel and select "Add Component," then type in "part" and "Particle System" should be the only thing that comes up. Select that, and give it a name for reference if you like. Then go over to the details panel, and in the Particles section you'll see an empty box. Select that. All the available particle systems in your project will come up, though if you know a specific one you want type in its name to cut down your search time. Select it when you've found the right one. The particle system should now be animating on the character in the viewport. Lastly, go into the viewport and adjust the placement of the component, making sure your camera is in the middle of it more or less. Compile and save the Blueprint, then go back to your game world and hit play and test it out. If the look isn't quite where you'd like, go back to the BP again and keep playing with the position of the particle system until it is, and just remember to re-save it. Should be good to go. Hope this helps!

more ▼

answered Sep 20 '18 at 11:03 PM

avatar image

IIIDysphoricIII
56 1 1 6

avatar image Maxarre Sep 21 '18 at 12:21 AM

Thanks for the answer man, i'm going to test it right away.

avatar image IIIDysphoricIII Sep 21 '18 at 12:30 AM

Welcome. I know I've struggled at times when people wouldn't or couldn't help me out so I'm happy to save others that same frustration when there is something I can do about it.

avatar image Maxarre Sep 21 '18 at 12:43 AM

Well ok it spawns at my spawn position, but what i'm trying to do is actually "bind" the particle system to the camera (because for this application i'm hidding the character meshes) in a way that the particle system stays with the camera when you move. That i can't figure out how to do it, i've looked up for solutions but can't man,age to get one working, can't even get a parent socket for my particle system, even if i create a socket one of the character meshes.

Tell me if i'm not explaining myself clearly alt text

avatar image IIIDysphoricIII Sep 21 '18 at 02:05 AM

I'm not sure I understand what the problem is exactly. Do you mean you want the particle system's orientation to pivot with the camera when you turn?

avatar image Maxarre Sep 21 '18 at 02:15 AM

Not necessarily for the orientation but i want the particle system to stay with the camera when i'm moving in the scene, i mean that if i move forward the particle system stays around me, right now when i start the scene, the particle system spawns where the camera spawns, but when i start moving the camera goes where i go but the particle system stays at the spawning point. So what i'm trying to do is attach the particle system to the camera in a way that the particle system sticks to the camera wherever it goes, wherever i move

avatar image IIIDysphoricIII Sep 21 '18 at 05:35 AM

In the Components panel, try clicking on the particle system component and dragging and dropping it over the camera where it's listed in the same panel. See if that works.

avatar image Maxarre Sep 21 '18 at 06:29 AM

It effectively says "attached" but doesn't change anything. Stays at the spawning point. Can't figure out why because technically it should stay attached when combined like this.

avatar image Maxarre Sep 21 '18 at 06:38 AM

Found some ideas that could work, i'm going to try them and if it does i will post screenshots of it.

(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