Problem with static mesh to socket attachment in C++
I faced a problem with attachment of my static weapon mesh to socket on the character's arms skeleton. It looks fine when I add mesh for preview:
But then I attach my mesh within BeginPlay function by code:
And get something like this:
Weapon mesh still depends from arms bones position though, so if I change arms pose, mesh will change the position. But this dependence is totally wrong.
I'm sure I doing something wrong since I'm newbie in UE4 but I wonder if someone can direct me to the right way with this issue.
asked Aug 31 '16 at 08:14 AM in C++ Programming
Well, my mistake was just in socket naming. It seems that "b_" prefix hardly used for bones only. So I've renamed my socket to "WeaponSocket" and it works fine now.
answered Aug 31 '16 at 09:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here