Spawning a particle system at the closest mesh bone location

Hello,

I am trying to add some impact FXs for a melee combat system, I’d like to spawn blood vfx at the point of weapon impact and have the FX actually follow the vert/surface of the mesh where it was hit.

If I understand correctly the Skel Vert/Surf Location particle module the location is randomly selected based on the list of valid bones, in my case I want to spawn at a specific location but there is not necessarily a socket for that.
The ideal would be for the location module to support a “closest to current location” mode. I suppose I could also generate a dynamic socket at the point of impact and use the Bone/Socket location module, but I am not sure if that’s possible.

any suggestions on how I could do that?

thanks,

Marc

Ok forget it, I can simply attach the FX using a bone as a socket name

Hi,

We think this post contains useful information which we would like to share with our public UE4 community. With your approval, we would like to make a copy of this post on the public AnswerHub which includes the discussion but strips out your username and company name. Please let us know if you are okay with this.

Thanks!

Yes, that is correct, and should be the most performant solution as well.

no problem