Spawn Emitter at Location

I am currently trying to get a particle effect to spawn when the character hits a surface, depending on the surface a different particle effect is chosen. I have included a picture of my BP for my character Animation. Currently the particle effect spawns but only in one place and does not follow the character as it moves. I have followed and looked at many threads and videos already to get to this point, any help would be greatly appreciated, I am using UE4 4.9.2, thank you.

Your trace is wrong, you are tracing for 0,0,0 in the world, to you pawn’s location. You need to trace from your pawn’s location, to a point below your pawn.

I’m not sure if you want the effect to be attached to the foot or not, it doesn’t look like it from you screenshot.
The below will work if not, and will spawn an emitter that follows your pawn. You can add a component in your character bp, where you want to effect to spawn, I just used mesh because it makes it spawn at the feet. If you want it to be attached to the individual feet, it will be a bit different, you will need to add sockets you your skeletons feet first.

Obviously, you shouldn’t use that method with a looping emitter, but just as an example:

edit: Actually you may have wanted something like this, spawns on emitter at the foots location, but doesn’t attach. You will need to add sockets to the feet:

Hey thanks for the help I learnt a lot, I took your BP and got a couple or errors:
Error This blueprint (self) is not a Character, therefore ’ Target ’ must have a connection.
Error Variable node Get Mesh uses an invalid target. It may depend on a node that is not connected to the execution chain, and got purged.

SO I changed the execute path and that fixed the errors:

Now the particle effects spawns at the characters feet but only the default value. I re-attached the physical materials on my Grass and Dirt textures and still for some reason the “Hit” is not registering the different material. Here is the full AnimBP, I’m at a bit of a loss as to how to fix the “Hit”

The plus node after get actor location should be a minus, should work then

Thank you so much that was the problem, you are a life saver. DO you mind explaining why that issue of switching form a ‘+’ to a “-” fixed the Hit issue. Still learning UE4 so any information is great , thanks again for helping me out much appreciated :slight_smile:

Sure, the line trace draws a line from the start location to the end location in the world, and returns the Out Hit if/when it hits something.
Yours is starting at the pawns location in the world, and you want it to trace down to the floor to find what type of surface it is, so you must get a point below your actor, so you minus Z (which is the up/down axis). If you plus on z, you are getting a point above your actor/pawn.

IT all makes sense now!!! :slight_smile: thank you very much for taking the time to clear that up!!