ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

2 Sliders to control (y axis) and (z axis) individually

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Eugenio Keller Puente
2 Sliders to control (y axis) and (z axis) individually
on Feb 22, 2017 at 3:46:24 pm

Hello There, I have two sliders I've created.

One is named "R ARM <- -> POSITION" to control the Y movement of an arm. I have posted the code that works fine for me on that movement right now.

In the other hand I have another slider named "R ARM Z POSITION" and I need it to affect the same arm layer to move it forward or backwards along the Z axis.

I have tried a code to implement both without success. Any suggestion? thanks!

temp = thisComp.layer("R ARM &lt;- -> POSITION").effect("Slider Control")("Slider");
[temp, 700,0]

My test with both sliders code, no success

temp = thisComp.layer("R ARM &lt;- -> POSITION").effect("Slider Control")("Slider");
[temp, 700];
temp = thisComp.layer("R ARM Z POSITION").effect("Slider Control")("Slider");
[value[0],value[1],temp[2]]


Return to posts index

Dan Ebberts
Re: 2 Sliders to control (y axis) and (z axis) individually
on Feb 22, 2017 at 4:58:12 pm

I haven't test this, but it should be something like this:

x = thisComp.layer("R ARM <- -> POSITION").effect("Slider Control")("Slider");
z = thisComp.layer("R ARM Z POSITION").effect("Slider Control")("Slider");
[x,value[1],z]


Dan



Return to posts index

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