#camera rotate twice

1 messages · Page 1 of 1 (latest)

flat sun
#

and

#

the cam look

slim prairie
flat sun
#

yes

#

player model is empty

slim prairie
#

change your camera rotation line (2nd to last line) to this:

cam.transform.localRotation = Quaternion.Euler(x_rotation, 0, 0);```
#

since the camera is a child of the player it's going to inherit the rotation of the player, and have its own local rotation on top of it. You can just have the camera rotate on the x locally and rely on the player body's rotation for the y axis rotation

flat sun
#

damn

#

nice

#

thank you very much

#

how di close the channel

slim prairie
#

I think it will auto archive after 24hrs

#

you can also leave it I think

#

idk

flat sun
#

ok thank you have a good day

#

PROBLEM