Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Pitch, Yaw, Roll calculation

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
AntonVit
Advanced Cheater
Reputation: 0

Joined: 25 Jan 2014
Posts: 61

PostPosted: Fri Jun 23, 2017 1:31 pm    Post subject: Pitch, Yaw, Roll calculation Reply with quote

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
View user's profile Send private message
AntonVit
Advanced Cheater
Reputation: 0

Joined: 25 Jan 2014
Posts: 61

PostPosted: Sat Jun 24, 2017 9:30 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites