I did not understand...
How i can apply this code to the old code?
I substitute the old code:
vec_set(temp, player.x);
vec_sub(temp, my.x);
vec_to_angle(my.pan, temp);
for the new:
var vecAngle[3]
vec_diff(temp, vecAngle, my.pan);
c_rotate(me, temp, glide);

and the entity turns to left, and not to the player...
Thanks!

Last edited by LWD; 01/05/07 20:21.