How to position a gun in hands. (FPS starter code)

Hi guys

Probably a noob question, but I am trying to simply replace the gun in the FPS demo, and I am unable to orient the gun correctly. The C++ code does an ‘AttachToComponent’ in BeginPlay, so any orientation in the editor is of no use. I tried changing the orientation of the root bone in the gun’s skeletal mesh, but for some reason it does not get saved. Each time I open it, I see the same old orientation.

I tried chainging the position and orientation of the socket as well, but that seems to be making no difference at all

Thanks in advance!