@dramypsyd @tezoatlipoca The regular trolley problem has already been solved, and that solution works here. Fortunately, this problem was stated as something that occurs in the real world, so real world physics come in to play.
If you throw the switch on trolley tracks AFTER the front wheels have crossed the switch but BEFORE the rear wheels, the trolley will stop.
@bhawthorne
Easy "fix": the trolley has a mechanism that detects derailment and explodes everything if activated.
@dramypsyd @tezoatlipoca