Forum Replies Created

Page 6 of 11
  • Miguel De mendoza

    April 11, 2016 at 10:16 pm in reply to: Delay effect with Slider Control?

    You have to add the self value to the expression:

    pos=thisComp.layer("CONTROL").effect("pos")("Slider");
    thisComp.layer (index+1).transform.position.valueAtTime(time-pos) + value

    Now you can move the text_2 where you want and get the relative offset.

  • Miguel De mendoza

    April 11, 2016 at 5:01 pm in reply to: movement control km/h or miles/h

    I see, write this on km/h position:

    speedValue = //Pickwhip to your slider
    offset = 50// tweek this to correct positioning
    x = (speedValue >= 100)? value[0] + offset: value[0];
    [x, value[1]]

  • Miguel De mendoza

    April 11, 2016 at 3:30 pm in reply to: movement control km/h or miles/h

    In the paragraph tab, change your alignment to the right

  • Miguel De mendoza

    April 11, 2016 at 10:57 am in reply to: For loops to create a dynamic array

    As far a I know, text layers are the most aproximate to a console you can get :/

  • Look at redefinery.com, there is a script for that:

    https://www.redefinery.com/ae/view.php?item=rd_GimmePropPath

  • Miguel De mendoza

    April 8, 2016 at 12:17 pm in reply to: For loops to create a dynamic array

    With expressions you can do most javascript common stuff, but you have to take in acount two things:
    1-Expressions are evaluated each frame
    2-Expressions don’t have memory, that means they can’t reach variables calculated in the frame before, unless the value is the final result of the last calculation, that is stored in the property value.

    So you can nest all the loops you want and make the most complex code in the world, but your computer maybe blows up. You can see expressions like a function, that is calculated each frame, with a return value, wich is the last variable/value you stored in the code, and is asigned to a variable: the property where you are writing the code.

    That said,what exaclty are you trying to achieve (in non programmer words ;)? Where are you writing that expression?

  • Miguel De mendoza

    April 8, 2016 at 12:04 am in reply to: Fix Xpresso time offset with hair dynamics

    I was tweeking the priority settings but I didn’t thought a spline was a generator!(I’m c4d newbee) I set the priority of generators to 1 and bum! Perfect!

    About the setup, I’m setting some light intensity, faloff and other params acording to the velocity of each light, and others like color in one master light, that’s why I’m using xpresso, but again, I didn’t thought about that cloner setup.

    Thank you very much for your help Adam!

  • Miguel De mendoza

    April 7, 2016 at 2:25 pm in reply to: Creating an unfurling spiral path

    I’ve seen this tutorial a few days ago:
    https://greyscalegorilla.com/tutorials/how-to-build-a-bone-and-joint-chain-in-cinema-4d/

    Is for c4d, but maybe you can get great ideas on how a spiral can be done and controled, specialy the golden proportion part. My first aproach would be try to setup a similar bone hierarchy with comps/nested comps or a layer name based hierarchy setup.
    Hope it helps!

  • Miguel De mendoza

    April 6, 2016 at 7:11 pm in reply to: Is posible get clones velocity with Xpresso?

    It works! Thanks!

  • Maybe this ocurs because the slider have coma values(1.3, 2.7)and when interpolating cant find a 1.3 layer. So you can try to floor the slider value, to make this code work you only have to add to your layers name an index sufix “_1”, “_2”, etc…:

    sliderValue = //Your link to the slider
    nameSplit = name.split("_"); //
    shapeNum = nameSplit[nameSplit.length - 1];

    if (shapeNum == Math.floor(sliderValue)) {
    value = 100;
    } else {
    value = 0;
    }

Page 6 of 11

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy