Once you enable the 3D option, the 3D Rotate tool becomes available. A rotation sphere appears around the pivot points to indicate the different axes.
You can click on the direction ellipses to rotate your layer on one axis only. If you click anywhere else, the layer rotates freely on two axes at the same time. When the ellipse is selected, it turns pink.
If you move the layers in the Perspective view, it may be difficult to control the motion since you may not have the optimum point of view on your stage to understand the setup.