Child location problem

hi i have parented the soldier over the gun but in game the gun is at another location, it still moves the same as the soldier but well,... see for yourself

normal

in game

hope you can help me

It looks like you aren't clearing the transform of the gun (setting it to Vector3.zero) when you parent it.