this the movement and camera code, how do i add this intruction you gave me? i tried putting temp in the movement_vector place but it didnt work. code:
var distance, angle;
VECTOR temp;
distance = 400;
angle =0;
while(me)
{
if(player)
{
camera.x = player.x-distance*cos(angle);
camera.y = player.y-distance*sin(angle);
camera.z = player.z+100;
vec_set(temp,player.x);
vec_sub(temp,camera.x);
vec_to_angle(camera.pan,temp);
vec_set(camera.tilt,player-300);
}
c_move(me,nullvector,vector(joy_force.x * 7 * time_step, joy_force.y * 7 * time_step, 0 ), GLIDE);