Forum Replies Created

Page 1 of 3
  • Brad Pickford

    June 20, 2017 at 7:02 am in reply to: Add decay (inertial bounce) to a referenced
  • Brad Pickford

    August 4, 2015 at 12:03 am in reply to: Inertia Bounce Decay issue

    As always, PERFECT! Thanks so much Dan!

  • Brad Pickford

    November 7, 2013 at 2:12 pm in reply to: Link position speed to object scale frequency

    Thanks Dan. I did look at that earlier but glazed over. I have created a workaround that is working. I am trying to create a delay in a secondary layer to offset its position value, but can’t get it to work. Would you have any suggestions? I need to offset the value of “d” by 2 frames.

    Cheers,
    Brad

    freq = thisComp.layer("controller").effect("sine value")("Slider");
    amp = thisComp.layer("controller").effect("max position height value")("Slider");
    n = freq.numKeys;
    if (n > 0 && freq.key(1).time < time){
    accum = freq.key(1).value*(freq.key(1).time - inPoint);
    for (i = 2; i <= n; i++){
    if (freq.key(i).time > time) break;
    k1 = freq.key(i-1);
    k2 = freq.key(i);
    accum += (k1.value + k2.value)*(k2.time - k1.time)/2;
    }
    accum += (freq.value + freq.key(i-1).value)*(time - freq.key(i-1).time)/2;
    }else{
    accum = freq.value*(time - inPoint);
    }
    d = value[1] + amp*Math.sin(accum*Math.PI*2);

    [value[0], d]

  • Brad Pickford

    October 23, 2012 at 11:49 pm in reply to: clamp object to orbit around it’s on axis

    Awesome, works well! Thanks again Dan for all your help!

  • Brad Pickford

    October 23, 2012 at 10:19 am in reply to: clamp object to orbit around it’s on axis

    Hi Dan, I have attached a project file that should explain better what I am trying to achieve. Basically The red null is the controller for a characters hand. The Object A is the rotation of the characters hand. I am trying to create animation controls that are all located in the comp window. So when you drag object A in the up and down “Y” position you will see that the layer as it rotates around moves out of orbit and ends up about 100 pixels or more to the bottom of where it started. Basically I want the layer to follow around the red nul in a perfect circle and when it comes back on itself at 360 degrees it will be in the same position as it started. Do you think it will be possible?

    Cheers

    4837_gui.aep.zip

  • Brad Pickford

    October 22, 2012 at 8:11 am in reply to: clamp object to orbit around it’s on axis

    Hi Dan, thanks for your reply. I have tried your idea. I applied the code to the “Object A” position, but I am still having the same issue of when I drag object along it moves in a decreasing or ascending spiral and doesn’t keep a constant distance radius from the offset Null. I don’t think that I mentioned that “object A” is parented to the Null, would this be causing the issue?

  • Brad Pickford

    October 21, 2012 at 10:57 pm in reply to: clamp object to orbit around it’s on axis

    Sorry Dan, haven’t uploaded images before, hope this works,
    Cheers

  • Brad Pickford

    January 10, 2012 at 9:50 pm in reply to: recalling an if else statement?

    Thanks so much for your reply Kevin. It was great to see how to get a variable out of an if statement. To make it work for my situation I just changed it to the following….

    n = thisComp.layer(“Controllers”).effect(“Body Turn”)(“Slider”);
    if (n >= 0) j = 1 else j = -1;
    m= n*j;
    [value [0]+m, value[1]]

    Works perfectly, Thanks Kevin!

  • Brad Pickford

    October 14, 2011 at 3:10 am in reply to: Inertial Bounce on y axis scale only

    As always Dan, Spot on. Thanks a million!

  • Brad Pickford

    October 11, 2011 at 2:09 am in reply to: Turn off parenting with an expression?

    Thanks Dan, will do that

Page 1 of 3

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