Code:
 vec_set(dir, player.x);

                       vec_sub(dir, my.x);

                       vec_to_angle(my.pan, dir);
is one that always works.


Use the 'manual' Luke, the manual is your friend. 'Self reminder' smile

My WebPage