I’ve had some thoughts before about ways in which (dangerous) level crossings might be eliminated.
Today’s invention is in the same mould.
It consists of a train the carriages of which are joined by a hinge which can be moved from the base to the roof (pink dots).
The hinges are powered so that carriages can exert torque on each other.
As the train approaches a level crossing where a conventional vehicle is crossing (grey), so the train arches up and over the crossing as a bridge-shaped wave passes backwards through the train.