now my Code looks like this:
(...)
action wizard_with_pointer()
{
wizard = my;
my.ambient = 100;
//VECTOR speed;
while(1)
{
my.pan += -50 * mouse_force.x * time_step;
my.x += 5 * (key_a - key_d) * time_step;
my.y += 5 * (key_s - key_w) * time_step;
c_move (my,my,nullvector,IGNORE_PASSABLE | GLIDE);
camera.x = my.x;
camera.y = my.y + 150;
camera.z = my.z + 15;
camera.pan = my.pan + 270;
camera.tilt = - 12;
wait(1);
}
}
(...)
but unfortunately it doesn't work
what's my mistake?
Last edited by V_Sola; 02/07/09 20:25.