depends on what it is that you attached.
skeletal mesh vs static.
on a skeletal mesh you can set up a Phat asset and animate parts of the gun, maybe the whole gun, allowing it to move naturally around a pivot point - which is set to whre you attach usually.