Forum Replies Created

  • Mauro Di ianni

    June 9, 2015 at 7:49 pm in reply to: Mapping a logo over a sphere

    Thanks! I’ll try it tomorrow and I’ll let you know.

  • Mauro Di ianni

    March 19, 2015 at 1:20 pm in reply to: Detect motion do action

    I need to do further testing but changing the value from 0 to 0.5 seems like did the trick. Thanks a lot!

  • Mauro Di ianni

    March 18, 2015 at 6:04 pm in reply to: Detect motion do action

    Thanks Dan!

    So basicly position.speed detects any changes? Unfortunately this doesn’t seem to work in my case though, I don’t know why…

    I had to put in the speed rotation also, because it’s animated aswell.

    This gives me very weird results, it mostly stays at 10000 and in proximity of few keyframes it turns to 0 for a single frame…

    The null animation is not very complex.

    Could it be something related to the easy ease keyframes? It looks like it detects speed even between two keyframes that have the same values. The animation doesn’t move at all between them but maybe the easy ease interpolation makes the expression think that there is some speed data.

    s = thisComp.layer("Null_controller_iPhone").transform.position.speed;

    r = thisComp.layer("Null_controller_iPhone").transform.yRotation.speed;

    if ((s > 0) || (r >0)) 10000 else 0;

  • Mauro Di ianni

    March 18, 2015 at 5:18 pm in reply to: Detect motion do action

    This is what I did so far but it gives me an error at line 5 “illegal use of reserved word”.

    Any suggestions?

    Thanks.

    M.

    delta = thisComp.frameDuration/25;

    if (thisComp.layer("Null_controller_iPhone").transform.position.valueAtTime(time-delta)) -
    (thisComp.layer("Null_controller_iPhone").transform.position.valueAtTime(time)) == 0 {0}
    else {};

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