Hi!
1)
Is this in a loop?

You could try
2)
vec_set(tmp_vec.x, my.x);
or
vec_set (tmp_vec.x, vector(my.x,my.y,my.z-180)); // player's pos copied to ???

What is boot_dist.z ?
I believe that this value is changing all the time in your C_move.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C