Forum Replies Created

  • Duncan Catterall

    September 7, 2015 at 9:30 pm in reply to: Distort Offset isssues

    Ah I think I may have overlooked the rotation setting due to the amount of plate spinning going on here. Excellent shout and works in an interesting way with my longitude and latitude data.

    Brilliant, that link looks spot on and even has more detail on linking things to cc sphere which is perfect.

    Cheers! 🙂

  • Duncan Catterall

    March 20, 2014 at 9:53 am in reply to: Speed Activated Walk Cycle

    I think I might be missing a trick here, mainly I as I’m pretty new at expressions. Just the rewritten code based on your decaying method but I’m getting errors back. Obviously if the value is above 10 then I want it to activate the loop cycle.

    Thoughts gratefully recieved 🙂

    threshold = 10.0;

    Bod = thisComp.layer(“Body”).transform.position.speed;

    below = false;
    frame = Math.round(time / thisComp.frameDuration);
    while (true){
    t = frame * thisComp.frameDuration;
    if (below){
    if (Bod.valueAtTime(t) < threshold){
    frame++;
    break;
    }
    }else if (Bod.valueAtTime(t) >= threshold){
    below = true;
    }
    if (frame == 0){
    break;
    }
    frame–
    }
    if (! below){
    t = 0;
    }else{
    t = time – frame * thisComp.frameDuration;
    }

    loopOut(“pingpong”)


    threshold = 10.0;

    Bod = thisComp.layer("Body").transform.position.speed;

    below = false;
    frame = Math.round(time / thisComp.frameDuration);
    while (true){
    t = frame * thisComp.frameDuration;
    if (below){
    if (Bod.valueAtTime(t) &lt; threshold){
    frame++;
    break;
    }
    }else if (Bod.valueAtTime(t) >= threshold){
    below = true;
    }
    if (frame == 0){
    break;
    }
    frame--
    }
    if (! below){
    t = 0;
    }else{
    t = time - frame * thisComp.frameDuration;
    }

    loopOut("pingpong")

  • Duncan Catterall

    March 19, 2014 at 8:48 am in reply to: Speed Activated Walk Cycle

    Brilliant, thanks Dan I’ll give this a go and let you know how I get on 🙂

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