Question by
romans8710 · Apr 03, 2020 at 09:37 AM ·
cameramovement3dfps
how to stop my gun from moving further away from the camera when I look up and down?
Everytime I look up and down my gun, which is a child of the main camera, moves further away, this problem came up very suddenly and out of nowhere as it was working fine before. here is a screen recording of the problem being simulated except the gun is a circle: https://www.youtube.com/watch?v=MMLinPsiRGM&feature=youtu.be
Any help is highly appreciated as this problem has been highly frustrating but please be rather specific because I'm a beginner and new to unity.
Comment
are there any realted parts of the code that should be included in your post?