Unity Open World - #6 - Limit Camera Rotation

Опубликовано: 06 Январь 2020
на канале: CodeLikeMe_Unity
23,112
278

Download Project : https://www.patreon.com/codelikeme_un...
In the last episode, we added a camera to the third person player character we created. And also added inputs for the camera to rotate and look around using mouse movement. But for the vertical mouse movement, the camera rotation is inverted. We are going to see how to fix that today. And After that, we are going to clamp the camera angle to a defined range. That means, in the current setup, if the player keep moving the mouse forward, camera will rotate around the player infinitely around the horizontal axis. This is not a good experience. So, we are going to define a max, and min angle for the camera and the look up and down angle will be clamped in between this range.

#CodeLikeMe #Unity #Openworld #Gamedev


Смотрите видео Unity Open World - #6 - Limit Camera Rotation онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь CodeLikeMe_Unity 06 Январь 2020, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 23,112 раз и оно понравилось 278 людям.