mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-12-03 06:35:21 +01:00
7578f2c3a0
A free end of a rail track marked bufferstop1 / bufferstop2 <kind> in the scenery is a buffer stop (physics/bufferstop.h): rigid, buffered, hydraulic or friction. With physics.collisions new a vehicle running into it meets the stages of the stop in series: the buffers of both, the absorber or the brake elements of a sliding stop, then the frame, whose hit goes through collision::hit() and whose ride-up goes through collision::override_of(), the stop an immovable body. It is held, the frame deforms, it rides up (Enfield 2021), demolishes the stop (Kirkby 2021) or overruns a sliding one. The log tells each hit once, and the memory cells __simulation.bufferstop and <track>:bufferstop and their events tell the scenery. physics.bufferstops marked (the default) takes the marked ends only, auto also the ends with a model of a stop within 3 m, off none. Every other free end keeps the derailment off the end of the track, and so does every end with physics.collisions old; monitor logs what the stop would have done.