Quantcast
Channel: Latest Questions on Unity Answers
Viewing all articles
Browse latest Browse all 171066

Finding a GameObject's rotation, and changing it.

$
0
0
Hey, As the title says, I want to know what my camera's rotation is, so that if it is higher or lower than a certain amount, I can stop it. Basically I want to restrict the up and down rotation of my camera (The game is First-Person). Any help would be greatly appreciated, Thank you in adavance.

Viewing all articles
Browse latest Browse all 171066

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>