Hi
Im making a fps and i want to parent my gun to my main camera, but when i do it, its spawning inside the camera so i can’t see it, what should i do?
Thanks
It is probably better that you parent the camera to your character controller (either the Unity built-in or another) and then define a local offset point where you place your gun. If you just parent your gun to camera and it is in (0,0,0) coordinates, it is going to be “inside” the camera.
But if you want to parent it directly to camera, you can move it to whatever location you want it to be in. You can use Transform.localPosition.
How do i define that local offset point?
Sorry i am not that good at unity and c#