You use
Code:
phent_addvelcentral (player_ball, vector(0, 0, 100));


only once, not in a loop. So no value has to be rational with the framerate. If you use it in a loop, you have to make it rational like that:
Code:
while(1)
{
 .....
 phent_addvelcentral (vector(player_ball.x*time_step,player_ball.y*time_step,player_ball.z*time_step, vector(0, 0, 100));
 .....
 wait(1);
}




Last edited by Razoron; 11/02/09 09:27.