#quaternion
1 messages · Page 1 of 1 (latest)
Pitch is actually supposed to between -90 to 90
Because if it exceeds that range it can be represented with 180 degree rotated Yaw
As in (120, 0, 0) is same as (60, 180, 180)
Do you know how do i combine it to get 0 to 360?
My game is topdown and i need only pitch rotation
I want to send it over network and i don`t need to send a full quaternion but only pitch
what i need is Y of euler angles
you can just convert from euler
I mean, store your rotation as float
but apply rotation to object through conversion
the rotation comes from Rival character controller
ah
there is a toEuler in Physics.Math that looks like this:
Sorry maybe that doesn't answer the question.