X, Y and Z rotations for layers problem
Posted: Thu Apr 10, 2008 11:44 am
I've posted about this a while ago, but I wondered if scripting could provide the answer here. I've got a nagging feeling it can't, but asking is free, so here goes.
It's about the fact that you can rotate a layer on all three axis in AS Pro: X, Y and Z. So far, so good. The problem however is that the X and Z axis are local, the Y axis however is global (I guess you must have some experience with 3D in order to understand what I'm talking about).
Is this AS Pro's way of avoiding gimbal locks?
I had a quick glance at the scripts for both the X and Y layer rotation tools. They seem to be identical apart from "x" being "y" of course. Does this mean that this oddball co-ordination system is hard-coded into AS Pro and can't be changed by re-writing the "lm_rotate_layer_y.lua" script?
It's about the fact that you can rotate a layer on all three axis in AS Pro: X, Y and Z. So far, so good. The problem however is that the X and Z axis are local, the Y axis however is global (I guess you must have some experience with 3D in order to understand what I'm talking about).
Is this AS Pro's way of avoiding gimbal locks?
I had a quick glance at the scripts for both the X and Y layer rotation tools. They seem to be identical apart from "x" being "y" of course. Does this mean that this oddball co-ordination system is hard-coded into AS Pro and can't be changed by re-writing the "lm_rotate_layer_y.lua" script?