How To Make Your Camera Rotate/Player Look in 2 MINUTES | Unity 3D

preview_player
Показать описание

This system allows you to make the player or camera rotate by moving your mouse/cursor.

Music: Fresh Start - Joakim Karud
Рекомендации по теме
Комментарии
Автор

NO TUTORIALS ON YOUTUBE HAVE A CAMERA THAT ROTATES ON Y AXIS AND THIS DOES OMG THANK YOU MUCH LIKE GOD BLESS YOU THANK YOU SO MUCH OMG YES THANK YOU

CoderDev
Автор

Thanks for the vid, completely forgot about transforming the eulers. If you put a negative in front of the mouseSensitivity in the code i.e (x, y * -sensitivity, 0); it should help with the inverted controls. I also had to switch my 'x' and 'y' around in my code for it to not be inverted.

tomslawrence
Автор

Oh your tutorials🤤🤤🤤😩😩😩 they’re so good😖😩😩

danyebest
Автор

awesome and simple! played around with your code to learn how it works and made my own adjustments!

skullrak
Автор

Thanks a lot, I am familiar in unity interface cause i am using maya autodesk but i am struggling in camera rotation because i have no history of coding. your code actually work for me.

wawyusendpie
Автор

But I still come across the problem of the player not moving relative to the camera's rotation. How do you fix that?

Withereddros
Автор

I did this and put on the player but the player doesnt actually rotate but instead spins on spot. How do i fix this?

spigg_iff
Автор

Is the cursor the unity engine cursor?

Unknown-the-first
Автор

Why is it - rotate instead of + rotate?

ketfo
Автор

Can you make, player can rotate by using touch control

STYM-wxmt
Автор

that doesn't worked with my project

exeamg
Автор

Hi can u make a tutorial, of rotating camera in y90? like in fan fnaf games.

benco
Автор

When I go on a moving platform and the player gets nested under it so he stays on it, the camera totally glitches. Anyone knows how to fix this?

RoleTopus
Автор

It says a error when I save and go back to unity, Assets/Scripts/CameraRotateScript.cs(20, 13): errorCS0103: the name ‘input’ does not exist in the current context. What do I do?

evilbilll
Автор

could also type transform.eulerAngle -= rotate;

mrbooscloos
Автор

I did it but now i cant look up or down

staplerproductions
Автор

The code didn't work for me. I gues Unity has changed some things.

samuellundblad
Автор

It says error on 20, 5 top level statements must precede namespace and type decleration

GamingGuides
Автор

it keeps telling me that the file name doesnt match with something idk

Achiom
Автор

can you make place object tutorial, i very need that tq

mankun