18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-12-02 22:25:23 +01:00
Files
maszyna/tests
jerrrrycho 65fa4a1cc6 fix(physics): the traffic of the roads keeps the legacy collisions; the log of a crush tells what it went by
Found running line 107 with every train driven by the AI: two cars of its
traffic (Fiat 126p, Skoda 1100) met head-on at 119 km/h. With physics.derailment
new they bounced off each other elastically: their couplers have no steel to
speak of, so the steel took the hit and the legacy rule of 15 km/h was off. The
crush of the ends is for rail vehicles now; road vehicles keep the legacy rule
and derail as before.

The log of a crushed end, of an override and of a push off the track tells the
masses and the kinds of the vehicles, the crush and the force each end gives
at, the force of the hit and of the springs, the closing velocity and the
force, time and Y/Q of a push.
2026-11-15 13:32:08 +01:00
..