Page 1 of 1

Train acceleration/deceleration formulas

Posted: Fri Jul 15, 2016 2:10 pm
by icedevml
Hello!

I have a mod which is playing with train speeds and it would be useful for me to know exactly how to calculate train acceleration or deceleration in next tick, given a LuaTrain object. Could someone (devs?) provide formulas for that? It would be also good to have some API for calculating that and maybe some possibility to control acceleration/engine parameters/etc.