Hello, there was a problem in Unity. It is necessary to bind an object to the character's bone, which is animated. How to make the binding go only along the coordinates without rotation (or prohibit rotation of 2 extra vectors that I don’t need), but leave it moving in space after the bone. Thanks for the help!!!!!!!!!!!!!
That's how I place the weapon before the start of the scene and attach it to the character's brush.
And this is how the weapon rotates after playing the animation:
This is how it should be after playing the animation:
PS I have aligned it manually in the last 2 pictures, but it is necessary that it does not rotate, or rather rotate only along one vector, it seems like only along the Y vector.
Thanks a lot, everyone!!!





