Transform: Align Axis

This tool rotates the movable body axis parallel to reference axis with the point defined. It also supports input for multiple bodies.
Fixed Point
The fixed point is the coordinate around which the body will rotate during alignment. If the coordinate point does not lie on the movable axis, it will get projected onto the axis before the rotation.
Move to the reference axis
Turn on this toggle to translate the given body to the reference axis after alignment.
Example 1 (Single body)
Example 2 (Multiple bodies)
Example 3 (Move to the reference axis)