x86asm How do I cheat? Reputation: 0
Joined: 11 May 2016 Posts: 8
|
Posted: Thu Aug 04, 2016 5:47 am Post subject: Converting camera pitch to degrees? |
|
|
I have a video game where the camera pitch is a 4 byte value which goes from some value like 30,000 to 60,000 when I move the camera in game. How can I convert these values to degrees?
I have no idea what the current angle of the camera is, and I don't know the minimum or maximum values in degrees either.
I was able to convert yaw to degrees easily, because my player can do full rotations in the Z axis. I tried the same conversion that it uses for yaw, but it didnt work. But for pitch, the rotation axis is extremely limited, and I don't know what to do.
|
|