Hi, I am trying to spawn a particle effect when i hit an enemy in game using a line trace. I have no problems getting the emitter to play if I use a Spawn Emitter at location node and give it the impact point as a location. However the Emitter will stay and play out at that exact location causing the enemy to walk through it or to be in the wrong spot when a hit animation is played, this looks pretty dumb. I thought the solution would be to use spawn emitter attached node and if I leave all the fields empty except for Attach to component which gets its value from “Hit Actor” the particles will play right in the middle of the enemy and move with it which is what i want them to do. However my problem is when ever i try to give it a location and rotation so the particles will start playing from the exact location on the enemy that the hit collided things go screwy. The particles will play but they will play 2x higher then they should above the enemy and about 5x to the right of the enemy but they will seemingly mimic the movements of the enemy as it stumbles or continues to move forward. Do i need to do something to Impact Point to make this work? or am i going about this the wrong way, any help would be much appreciated.
Argh!! just worked it out 5 mins after asking. needed to have Location type set to Keep world Position. Hope this helps anyone with similar issues.
2 Likes
It was helpful indeed! Thanks!