Friday, April 17, 2015

[Help] Radar rotation problem

Anoni mo
img1

img2

I think it depends on the FOV. How can I do so that the radar has always shown correctly ?

MyCode:


Code:



scrPos = myPos2D - Tpos;

float ver_length = sqrt((scrPos.x * scrPos.x) + (scrPos.y * scrPos.y));

float dst = ver_length *(0.02 * 3);

dst = min(dst, 300);

distance_r = distance_Radar(myPos, Pos_r);

float temp = sqrt((scrPos.x*scrPos.x) + (scrPos.y *scrPos.y));

scrPos.x = scrPos.x * 1/temp;

scrPos.y = scrPos.y * 1/temp;

scrPos *= dst;

scrPos += radarCenter;

scrPos = RotatePoint(scrPos, radarCenter, viewAngleY_f - 90, false);










Ver publicacion completa // See full post --> >>UnKnoWnCheaTs - Multiplayer Game Hacks and Cheats<<




Thx Brut7

PostDate: April 17, 2015 at 09:57AM

About the Author

Anoni mo / Author & Editor

Somos una comunidad de gamers estrategas. Buscamos las mejores y mas rapidas formas de realizar cosas en los juegos. Muchos ya nos conocen, visitanos https://www.facebook.com/TLTDLJ/

0 comments:

Post a Comment