Put simply, after creating a scene with the player character, dragging it to any other scene points the gun backwards, no matter which way the gun is facing in the character scene, or the gun scene
Even if you manually flip it by opening up the character in editor, it still ends up pointing backwards from the camera view.
I was simply following a tutorial, and this seems like pretty simple stuff, i havent even started coding- How am i doing something wrong already?
I wonder if having the camera and the gun hanging off Neck is doing it? I’m assuming you’ve got the camera hanging off the neck in order to do a first person mouselook view.
What strikes me is that in your view where the gun is correct, the axis markers are different from your scene axis markers. That is, in the upper screenshot, the gun is pointing down (presumably positive?) Z. In the lower one where it’s backwards, it’s also pointing along +X.
Is it actually backwards, or is it rotating around its center, and Neck has it looking 90 degrees to the left?
The gun scene by itself, is swapped 180 along its Y.
It was in an attempt to fix it, but either
The gun in the the character scene is swapped -180, on its Y, but no matter how you change it, its always facing the direction in the MainGame scene.
(Any swapping was done just to see if it made any difference.)
Indepenent of any changes made in any other scene, its always facing that one direction in the ‘MainGame’ scene.
Turns out, It was the animator.
The animator had Rotation changed in each of its animations, and because the animations had it facing +Z, the gun would always face +Z.