ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

AfterFX Character Rig slider expression link...

COW Forums : Adobe After Effects

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Craig ReevesAfterFX Character Rig slider expression link...
by on Dec 23, 2013 at 11:17:29 am

Hello everyone,

I have been creating a character linked to a number of ai files.

I have layers that make up different parts of the head, in different angles - in different compositions.

My question:

Is there an expression that when linked to a 'slider' will turn the opacity of a pre comp on, then off when that value is altered. for e.g..

Head FRONT on only > in-between slider value 0-10
Head LEFT on only > in-between slider value 11-20
Head BACK on only > in-between slider value 21-30

etc. etc...

Thanks in advance!


Return to posts index

Walter SoykaRe: AfterFX Character Rig slider expression link...
by on Dec 23, 2013 at 3:46:44 pm

[Craig Reeves] "Is there an expression that when linked to a 'slider' will turn the opacity of a pre comp on, then off when that value is altered. for e.g..

Head FRONT on only > in-between slider value 0-10
Head LEFT on only > in-between slider value 11-20
Head BACK on only > in-between slider value 21-30"


Alt-click the Opacity stopwatch for the layer and enter the following expression:

slider = thisComp.layer("CONTROLLER").effect("SLIDER")("Slider");
if ((slider > 0) && (slider <= 10)) 100 else 0;


Modify the ranges for the test for each layer.

Walter Soyka
Principal & Designer at Keen Live
Motion Graphics, Widescreen Events, Presentation Design, and Consulting
RenderBreak Blog - What I'm thinking when my workstation's thinking
Creative Cow Forum Host: Live & Stage Events


Return to posts index

Craig ReevesRe: AfterFX Character Rig slider expression link...
by on Dec 23, 2013 at 5:26:03 pm

Thank you thank you thank you! :D


Return to posts index

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