- Home /
Camera under Camera not fully rorating (FPS Controller)
I'm using the standard FPS controller, and since I need my weapon not to clip trough other objects, I'm using a second camera as a child to the main camera, which renders only the gun. But for some weird reason, the character now doesn't rotate the full 360 deg on the Y axis, get's stuck along the way (making a part view unsealable). If I remove the weapon cam from under the main cam, everything goes back to normal.
What can the issue be?
Could you provide the script. If the camera is basic then the only possible place may be the script or possibly some awkward collision with the player itself.
The script is the default $$anonymous$$ouseLook that comes with the standard assets in Unity. I noticed that it doesn't matter if the camera is a child of the $$anonymous$$ain Camera, FPS Controller or neither. As long as 2 cameras are active (one set with a culling mask and depth only), the problem persists.
Your answer
Follow this Question
Related Questions
Unity Android - Rotation camera with Joystick on FPS Controller 0 Answers
I have an issue when I go to play my game (screen has a gradient can't see scene) 0 Answers
Move character in direction its facing 1 Answer
Make camera rotate don't stop 1 Answer
How to make the camera rotate only when right click is held down on the mouse? 1 Answer