...
vec_set(tmp1,axys.x); //axys is the object
vec_sub(tmp1,TARGET); //TARGET is mouse position 3D
vec_to_angle(tmp2.pan,tmp1);
draw_text(_chr(str_for_num(NULL,tmp2.pan)),100,100,_vec(255,0,0));
in this example I made, I get close to getting! The problem is that he comes back and starts 180 sample:
1..2..160..180 | -179...-169...-2
Last edited by NeoNeper; 07/21/1316:22.
Please! Use easy words to be translated. because my English is not very good! Grateful. _______________________________________________________