- Home /
fps multiplayer camera set (posible script)
Hi i am making an FPS multiplayer game and have had problems for a long while getting the gammera to look at the gun properly (like this)
but my games camera goes into the gun or you can not see the gun at all like below: Is there somthing that i can do to fix this i have already tried changing the projection and Field of View: any help would be pleased, and it there is a script that does that would be very helpful. Tanks in advance
The problem is not the gun moving with the camera but the camera is not always seen the gun
Please post this type of things as comments and not answers. I'm converting this to a comment for you now for this time.
Answer by Zodiarc · Jun 03, 2014 at 07:46 AM
PREVIOUS: Make the gun a child of the camera and you can adjust it freely. The gun will always move and rotate the same way as the camera (Second pic is broken btw).
I couldn't ureally understand what the problem was because the second image was missing. Try to other clip planes or sizes (http://docs.unity3d.com/Manual/class-Camera.html). Or mess around with the camera position to se when it will be rendered and when not.
You could also try to set the depth to -1.
Your answer
Follow this Question
Related Questions
Make so that a player cant see the players model? 1 Answer
HDRP Camera weapon layer 1 Answer
How can i fix the camera in multiplayer game? 2 Answers
[Closed]multiplayer camera script 2 Answers