ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Linking Z scale to X or Y scale

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Nikolas Kazoura
Linking Z scale to X or Y scale
on Dec 15, 2018 at 12:27:01 am

Hi there - I have a motion tracked NULL with keyframed X and Y values. I then set the NULL to be a 3D layer and I'd like to know if there's an expression to match the Z scale (depth) to the Height or Width.

For example, as you can see in the attached image, both the width and height are at 68.5% but the depth is stuck at 100. Is there and easy way to map the depth to match either the height or width?

Thanks for your time.



Return to posts index

Dan Ebberts
Re: Linking Z scale to X or Y scale
on Dec 15, 2018 at 1:48:04 am

Like this maybe:

[value[0],value[1],value[0]]


Dan



Return to posts index

Nikolas Kazoura
Re: Linking Z scale to X or Y scale
on Dec 15, 2018 at 10:16:54 pm

Thank you Dan!! Although I assume a simple ask, I couldn't find any good resources online. I'm in the middle of a big project and your help has truly saved me.


Return to posts index

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