PDA

View Full Version : Can anyone explain this?


DLangley
04-27-2006, 11:10 PM
A null with 3D switch on and set to auto orient along a path will flip on the axis aligned to a bezier motion path as it moves around curves. Yet there is no indication of the change on the layers orientation or rotation properties. It seems to be related to and depends on the curves orientation. I did a search on this form but found only one reference but not specific to this issue and no solution or explaination. If someone would explain it and any possible solutions I would appreciate it.

Thanks in advance.

Dave

Mylenium
04-28-2006, 07:05 AM
A null with 3D switch on and set to auto orient along a path will flip on the axis aligned to a bezier motion path as it moves around curves. Yet there is no indication of the change on the layers orientation or rotation properties. It seems to be related to and depends on the curves orientation. I did a search on this form but found only one reference but not specific to this issue and no solution or explaination. If someone would explain it and any possible solutions I would appreciate it.

Thanks in advance.

Dave

This is a simple math issue known as "gimbal locking" (every 180 degrees all results for the underlying rotation calculations, which are done in radians, are the same, so when exceeding certain angles stuff will flip around). AE does not have "smart rotation", since it doesn't compare orientation (Quarternion) to rotation (Euler), it blindly only calculates the values. Other then using parented hierarchies you cannot circumvent this easily. Even expressions won't work in this case.

Mylenium

DLangley
04-28-2006, 10:42 AM
Hey, thanks for the explanaination; I had been trying to "express" my way around this one and just couldn't find a workable math soulution. Its good to know its not my rusty trig.

CGTalk Moderation
04-28-2006, 10:42 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.