I have mouselook for my game but the player can look all the way up and down. I want the camera to be limited in rotation like a normal fps. Please help!
$\begingroup$
$\endgroup$
2
-
$\begingroup$ Please add more information to your question (the mouselook script, etc.) $\endgroup$– gandalf3Commented Jan 25, 2014 at 22:11
-
$\begingroup$ By this I mean the "up" and "Down" rotation $\endgroup$– FatBunnyCommented Jan 25, 2014 at 22:13
Add a comment
|
2 Answers
$\begingroup$
$\endgroup$
The mouse move script allows cutomization. In order to restrict up/down rotation you could add the properties as shown in the image.
$\begingroup$
$\endgroup$
2
I make BGE tutorials on my channel, and I have this exact solution, scripts, and .blend file in the description. Just keep watching through the video, I believe I show you how 3 minutes through. https://www.youtube.com/watch?v=d2BL9AxORec
-
2$\begingroup$ Do link, but also provide an answer that will stand for itself. $\endgroup$ Commented Jun 7, 2014 at 18:52
-
1$\begingroup$ Welcome to the site :) Link only answers are discouraged here; if the link goes down, so does the answer. $\endgroup$– gandalf3Commented Jun 7, 2014 at 20:25