Solved GTAV angle rotation

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

B14CKS1D3

Newbie
Full Member
Apr 10, 2016
20
94
0
I've been trying to do an aimbot but I can't figure out how to get angles rotation in cheat engine. I searched the angles ( found using GET_GAMEPLAY_CAM_ROT, but there is no native to set the camera's yaw so that's why I need angles rotation ) in cheat engine using both float & double and I can't get a single value
 

MasterG

Coder
Dank Tier Donator
Nobleman
Mar 14, 2015
102
888
1
Watch in the up side of the screen and scan float value between 0 and 90, watch down and scan value between 0 and -90 do it until you get 1 result. Pitch should be stored 4 bytes up in memory, and roll 4 bytes down, if not try with 8 then C ecc. This method works if yaw is in angles
 
Last edited:

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,074
78,998
2,371
Watch in the up side of the screen and scan float value between 0 and 90, watch down and scan value between 0 and -90 do it until you get 1 result. Pitch should be stored 4 bytes up in memory, and roll 4 bytes down, if not try with 8 then C ecc. This method works if yaw is in angles
pitch is up and down, yaw is left and right :)

 

MasterG

Coder
Dank Tier Donator
Nobleman
Mar 14, 2015
102
888
1
Rake;41836 said:
pitch is up and down, yaw is left and right :)

Sorry I confused pitch with yaw D:
Btw roll is used only in Third person shooter games? Or where its used? In first person are enough 2 angles but on third person idk if is the same
 
Last edited:

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,074
78,998
2,371
games that use roll: flight simulators, space simulators, mech warrior type games, games in which you can lean around a corner, I think that's about it
 

B14CKS1D3

Newbie
Full Member
Apr 10, 2016
20
94
0
Watch in the up side of the screen and scan float value between 0 and 90, watch down and scan value between 0 and -90 do it until you get 1 result. Pitch should be stored 4 bytes up in memory, and roll 4 bytes down, if not try with 8 then C ecc. This method works if yaw is in angles

Did that, I get some values in cheat engine but I can't freeze them / change them they go back to what they were. From what I read on some forums, the rotation seems to be stored in radian, how would I find it?
 
Last edited:

Lovelace

Jr.Coder
Full Member
Nobleman
Oct 23, 2015
83
938
5
Scan for values between 0 to 6.2831853072 or just 6 (PI * 2 = 6.2831853072 radians = 360 degrees) in float. Move your mouse sideways to look for yaw and scan for changed values. When you've found yaw, usually when you add 4 you'll get pitch and roll (roll is unecessary for aimbots).
 

B14CKS1D3

Newbie
Full Member
Apr 10, 2016
20
94
0
Rake;41847 said:
Are you playing online or single player?
Checking for increased / decreased values will work regardless of radians/degrees. If you haven't watched this tutorial it may help you:
https://guidedhacking.com/showthread.php?7903-How-To-Find-the-View-Matrix
Single player, I tried that tutorial but I got no value that I can change or freeze (I got a matrix, but seems to be read-only as I can't change/freeze values)

Scan for values between 0 to 6.2831853072 or just 6 (PI * 2 = 6.2831853072 radians = 360 degrees) in float. Move your mouse sideways to look for yaw and scan for changed values. When you've found yaw, usually when you add 4 you'll get pitch and roll (roll is unecessary for aimbots).
Just tried it and I get some values but nothing I can freeze or change again
 
Last edited:

B14CKS1D3

Newbie
Full Member
Apr 10, 2016
20
94
0
Read some stuff on google, this seems to be how angles work in gta

C++:
Pitch is on radians and is calculated as usual.
Yaw isnt in rads as i said above, it's the sin of the angle, Y/Hypotenuse .
How can I find the Yaw in cheat engine ? / What would I need to calculate the yaw ?
 

MasterG

Coder
Dank Tier Donator
Nobleman
Mar 14, 2015
102
888
1
Read some stuff on google, this seems to be how angles work in gta

C++:
Pitch is on radians and is calculated as usual.
Yaw isnt in rads as i said above, it's the sin of the angle, Y/Hypotenuse .
How can I find the Yaw in cheat engine ? / What would I need to calculate the yaw ?
Then do my method and instead of +/- 90 scan for values between (+90/(180/PI)) and (-90/(180/PI)) move up increased, move down decreased. This for pitch.
For yaw scan value between +/- 360° then move crossair and scan for changed value ecc.
Scan type for selected addresses should be float
1 radian = 180° / PI(is the 3,14 thingy) = 57,(....) ° . I dunno remember the decimals.
 
Last edited:

Lovelace

Jr.Coder
Full Member
Nobleman
Oct 23, 2015
83
938
5
Read some stuff on google, this seems to be how angles work in gta

C++:
Pitch is on radians and is calculated as usual.
Yaw isnt in rads as i said above, it's the sin of the angle, Y/Hypotenuse .
How can I find the Yaw in cheat engine ? / What would I need to calculate the yaw ?
Behold my paint skillz



At least that's how I understood it. Just look up for pitch if you have no idea how to look for yaw.
 

B14CKS1D3

Newbie
Full Member
Apr 10, 2016
20
94
0
Then do my method and instead of +/- 90 scan for values between (+90/(180/PI)) and (-90/(180/PI)) move up increased, move down decreased. This for pitch.
For yaw scan value between +/- 360° then move crossair and scan for changed value ecc.
Scan type for selected addresses should be float
1 radian = 180° / PI(is the 3,14 thingy) = 57,(....) ° . I dunno remember the decimals.

Thanks, I got it now. The weird thing with GTA is that the address changes each time your game switches cameras (3rd person, 1st person, cinematic) but the pointer I got automatically updates to the right address
 

MasterG

Coder
Dank Tier Donator
Nobleman
Mar 14, 2015
102
888
1
Thanks, I got it now. The weird thing with GTA is that the address changes each time your game switches cameras (3rd person, 1st person, cinematic) but the pointer I got automatically updates to the right address
Nice. I'm glad to see that you found it.
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods