mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-11-27 22:55:16 +01:00
The crush of the ends, the override and the push off the track went by physics.derailment new. They have a switch of their own now, physics.collisions, new by default: the derailment in a curve and the collisions can each be new or the legacy ones. old is exactly the legacy rule of the safe closing speed weighed by the masses. monitor runs as old, and for a hit on the buffers the crush model would not take elastically it logs once what the crush of the whole hit would be (collision monitor: the closing speed, the crush of each end, the force, whether the draw gear tears off and which vehicle would ride up onto the other one), without changing anything. The push off the track is not monitored: it builds up from the crushed ends of the new model. The road vehicles keep the legacy rule with any value. The tests that pin the legacy collisions pin physics.collisions old.