CS:GO Aimbot math problems :(
Hello, guys at the moment I try to write my first aimbot. I guess I have everything what I need now but my math skills are horrible. -.-
What I have done:
- Save all enemy position in a vector.
- Save the near enemy in a vector.
- Change my view angle so that I can turn around and look up/down.
How can I say now aim to enemy? I dont know how I can calculate which angle I need so that I can aim at the enemy.
Would be really nice if someone could help me.
I made this a while ago to understand how an aimbot works. A piece of paper, a pen and ~ 15 minutes to figure it out.
Post Thanks / Like - 4 Thanks
I have found this text tutorial: https://guidedhacking.com/showthread...IMBOT-w-Source
And I see that my way of thinking was totally wrong.
15min ? lol I even have no basic understanding of this angle calc stuff. I guess I would need maybe more than one week to understand this stuff.
Originally Posted by Liduen
So I will just copy the function void CalcAngle( float *src, float *dst, float *angles ) from the text tutorial. Normally I dont copy things but in this case ... I know how fucking bad my math skills are and I dont want to spend to much time on that stuff. But thx for the graphics maybe one day I will need them.