hi, everybody...
I converted a regular motion path to 3D motion path by doing this:
1.) Paste a spiral motion path from illustrator to the position parameter of a 3D Null 1
2.) Create a 3D Null 2 and parent Null 1 to it.
3.) Rotate Null 2: X-axis 90 degrees.
4.) Set auto-orient to Orient along path on Null 1 (optional)
5.) Parent the object you want animated to Null 1
Questions
1.] Everything works fine,BUT how do I access the new 3D positional values of the motion path (Null 1 + Null 2).
2.] The arrow periodically jerk rotates along the path, how can I get the motion to be fluid without gimbal jerky rotation.
here's the project sample:
http://www.simulationbox.com/outgoing/arrowX.aep
Thanks
Sincerely,
Charlie
Get 3D Position values of Motion Path
Transform data is converted using the layer space transforms, in your case something like
m3D=thisComp.layer("Null1")
m2D=m3D.toWorld(m3D.anchorPoint)
would be proper. For the flipping issue you could re-create the orient with your own set of expressions or simply use one more level of parenting and adjust the values manually. Using the AE auto-orient and compensating for its values is certainly more difficult and does not seem necessary for such simple formulaic motions.
Mylenium
m3D=thisComp.layer("Null1")
m2D=m3D.toWorld(m3D.anchorPoint)
would be proper. For the flipping issue you could re-create the orient with your own set of expressions or simply use one more level of parenting and adjust the values manually. Using the AE auto-orient and compensating for its values is certainly more difficult and does not seem necessary for such simple formulaic motions.
Mylenium
[Pour Mylène, ange sur terre]