18
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-27 22:55:16 +01:00
Files
maszyna/utilities
jerrrrycho 8070f79a3a feat(physics): physics.collisions new|old|monitor, apart from the model of the derailment
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.
2026-11-15 20:09:57 +01:00
..
2026-05-02 14:40:31 +02:00
2026-04-27 23:03:47 +02:00
2026-05-12 16:36:32 +02:00