Why I was asking all that questions?
Before I was not really interested in how time_step is working. It was working and that was enough for me.
Until I tried the spider script from the old aums:
spider_speed.x = 8 * time_step;
spider_speed.y = 0;
spider_speed.z = 0;
spider_speed *= time_step; // *
The interesting thing is, that the spider would have the double speed with 30 fps than with 60 fps.
And I know it is the 4th line *
But I don't understand why. It is working fine if I delete this line and change the speed. But I ask myself why this line is included in the script.
Now I have also a question about waiting some frames. Not for particles, only for a break of 4 frames.
For example I wanna wait(4); at 60 fps.
But only wait(2); with 30 fps.
What would be the best solution for that?
Something like wait(3.75 * time_step *4)? Because time_step * 3.75 would be 1.
Sorry for the stupid questions. I only wanna understand the complete process.
Last edited by Logitek; 11/12/15 11:16.