Iron plated universal joints can be bent at any angle (rotation angle 45°). The universal joint can change the transmission direction at any angle. Originally, a motor shaft was facing south and connected through a universal joint to change the direction of the rotating shaft to face the ground.
eBay