Originally Posted By: bk9iq
I tried this and it is working fine for me:


Quote:

VECTOR temp_for_turning;
action arrow()
{
while(1)
{
vec_set(temp_for_turning, player.x);
vec_sub(temp_for_turning, my.x);
vec_to_angle(my.pan,temp_for_turning);
wait(1);
}
}


just attach this action to the entity u want to be rotated towards the player..


He wants to turn it smoothly.