17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-19 14:18:49 +02:00
Files
maszyna/tests/unit/test_couplers.cpp
jerrrrycho 52aa9b16cf fix: coupler force of vehicles facing each other taken back along the other vehicle's axis
CForce runs along the axis of its own vehicle, so the force the other vehicle takes back on its coupler of the pair
is turned around once more when the vehicles face each other (-CF * DirPatch()), as that vehicle computes it itself.

Tests: the coupler forces of the pair facing each other and facing the same way.
2026-10-19 01:09:35 +02:00

20 KiB