|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
AntonVit Advanced Cheater Reputation: 0
Joined: 25 Jan 2014 Posts: 73
|
Posted: Fri Jun 23, 2017 1:31 pm Post subject: Pitch, Yaw, Roll calculation |
|
|
Hi all,
Trying create free camera, but cant create rotation, cant change Pitch and Roll,
Rotation from left to right work fine.
Game has this 8 values in game memory
Code: | 0.02 -0.82 0.03 0.58
-50.76 2,19 -105,12 0,00 |
-0,82 and 0.58 - its cosinus and sinus
-50.76 2,19 -105,12 - its xyz coordinates
0.02 and 0.03 its angles (0.02 its roll and 0.03 its pitch)
But if i rotate camera from left to right and make full 360%, camera will rotate like on the waves.
So i understand that Roll and Pitch use Cosinus and Sinus, but how recalculate it Roll and Pitch while camera will be rotate, without it wave.
And how recalculate for example only Pitch if i just want turn down camera, and too without wave effect, erect from up to down, no mowing in the direction
In some game i saw Pitch value like from -1 to 1 (float) and Roll too -1 - 1
But this game not has it value, but has this two, and i dont know how recalculate new values
Saw in net but dont understand
|
|
Back to top |
|
|
AntonVit Advanced Cheater Reputation: 0
Joined: 25 Jan 2014 Posts: 73
|
Posted: Sat Jun 24, 2017 9:30 am Post subject: |
|
|
Today i found in memory Pitch adress, now not need recalculation.
And Roll adress game not has, couse its race game, as i understand.
Thanks All
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|