Hi,
I have following problem:
I want to move an entity from one vector to another.
For example (10,20,10)->(20,20,10)
When I use a while-loop with my.x+=1 I have the problem that I cannot use time_step.
Thats why I want to try it with c_move.
Code:
while (x_my+10!=x_my_now){
x_my_now=my.x;
c_move (my, vector(0,0,0), vector(y_move * time_step,0, 0), ignore_models);
}
But now, the movement doesn't finish exactly at that vector I want it to have because of time_step.
Do you have any ideas for solving my (little) problem.
THANKS.