ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Constraint movement along X, Y and Z axis

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Rowan de Geus
Re: Constraint movement along X, Y and Z axis
on Jun 21, 2019 at 11:07:43 am
Last Edited By Rowan de Geus on Jun 21, 2019 at 11:41:17 am

Got it:

pos = transform.position;
x = effect("X Movement")(1);
z = effect("Z Movement")(1);
y = effect("Y Movement")(1);
a1 = 190;
a2 = 40;
[x + z + pos[0], -x*Math.tan(degreesToRadians(a1)) + z*Math.tan(degreesToRadians(a2)) + y + pos[1]];


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]