Download

Hit Bone Name - set morph target accordingly?

Hello all!

I have line trace by channel set up in the FPS First Person Character blueprint. It checks which bone has been hit on my enemy skeletal mesh.
Now…I’d like to get this result (the name of the hit bone) and use it in the ‘enemy blueprint’ to set certain morph targets according to which bone was hit by the player’s shot.
So if the ‘Leg bone’ was hit, the enemy skeletal mesh should morph on it’s leg. If the head bone was hit, the head morph target should be set…
Any pointers on how this can be put together?