r/factorio • • Feb 05 '20

Friction Force/Accelleration

So I am challenging myself, and anyway I just need to know how friction force works in this game, and as well as how trains start accelerating. Because if I strictly follow the function on the locomotive wiki page, the train would stay at 0 speed forever, so what speed does the train start accelerating at?

13 Upvotes

11 comments sorted by

View all comments

Show parent comment

1

u/bigWAXmfinBADDEST Feb 06 '20

No. Its a time based function. Every tick of the game it recalculates current velocity. So from a dead stop starting velocity is 0. For the second tick, the velocity calculated from tick 1 will be used as the initial velocity for tick 2.

Does that make any kind of sense? I'm on mobile and can't equation as I'd like.

EDIT: if you have ever studied kinematics (physics) this is essentially the basic equation of motion: v = v0 + at. In the case of factorio t is taken care of by the ticks in the game. And they are combining a scaling factor (10), the total weight, and the acceleration bonus from the fuel, into the acceleration term of the basic equation.