I am stuck like almost a whole day with kinda simple problem:How to attach a weapon to a character mesh socket via BluePrints.So first I followed
this tutorial : https://www.youtube.com/watch?v=RjbwYKqZmgg
and this one
to learn how to do it.The first one is not that useful as he just replaces the already embedded weapon with the custom mesh.
The second one I tried but it doesn’t work at all.Also it is hard to understand how he sets up Character mesh and weapon mesh variables.Also I don’t understand why he works with Static Mesh for weapon while it should be Skinned mesh because the the weapon has a marker bone for hand grasp location.
The closest I have figured out my self was this:
But the result is screwed: the weapon is not really gets attached to the bone socket but rather to the whole body,or its transformation is relative to world space and not the bone.It just doesn’t move along with the hand bone.Definitely I am doing something wrong.I tried pretty any other tutorial or example but most of them look outdated to the latest version of Unreal.So nothing really worked.Anyone can shed a light how to attach the weapon mesh correctly to the bone socket in BluePrints?