ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Coordonates. Axis orientation

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Nicolas Guionnet
Coordonates. Axis orientation
on Feb 26, 2019 at 9:22:12 pm

Hi,

This question is probably very basic. I am a newbie.

I have used expression to create a mathematical animation involving coordinates.
I discovered that the y axis was downward oriented. Off course, it can be corrected in the code, but as it is spread in various fragments, it is not the most elegant way to do this.

So, is there an option somewhere to adopt the classical math orientation ? ... must I use some horizontal reflection effect ?

Thank you !
Nicolas


Return to posts index

Dan Ebberts
Re: Coordonates. Axis orientation
on Feb 26, 2019 at 9:42:44 pm

I think the best you could do would be to flip it at the end of your expression, like:

// do your x calculation

// do your y calculation as if + is up

[x,-y]


I wouldn't recommend doing that though--you do get used to it being the way it is.


Dan



Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2019 CreativeCOW.net All Rights Reserved
[TOP]