Prototype Truck Mounting

I can across this pic and I have to ask, how in the heck is that big heavy EMD truck floating in the air? I thought locos and cars were just set on the trucks and that was it.

I believe freight cars are just sitting on their trucks, but that’s not the case with diesel locos. There are power cables and other lines running between the truck and the engine. If the trucks were not fastened to the loco, a serious derailment like the one pictured below would cause a lot more damage than it does with captive trucks.