You have seen examples of rotating around one axis and then two axes. Now let's add a third axis!
The Z-axis is the depth axis. It either comes at you (forward) or goes away from you (backward). When you use this axis you get all kinds of interesting results with your rotations that can surprise and delight users...and developers. 😃
In the example above we are using a positive value for the Z-axis:
axis: (x: 2, y: 4, z: 3))
This means the vector (line) is coming at us.
Let's compare that to a negative value where it will send the vector backward:
axis: (x: 2, y: 4, z: -3))
Pay attention to the bottom of the view being rotated. Notice the bottom
is coming at you more whereas in the first the top
is coming at you.
Well, that wraps it up for the Rotation 3D Effect modifier. I hope you had fun following along with this mini-series!