I'm working with 3D rotations and extrusions in Adobe Illustrator. I have a square that I have extruded into a rectangular prism, which I've then rotated a known amount (x°, y°, z°) on each axis. I'm not using perspective, so I assume that makes the result some kind of axonometric projection (probably isometric?).
I have another 2D object that I want to also rotate in 3D space so that the perspective matches that of one of the other five sides of the original extruded cube.
Given what I know, it seems like I should be able to calculate the transformations needed on the new object. But various sensible-seeming combinations of simply adding 90° to/subtracting 90° from/inverting the sign of the old values don't seem to generate what I need.
So: Just how complicated is the math I need to do this?