jit.anim.drive - how to tell when a moveto or scaleto animation is done?

    Jun 15 2012 | 10:58 pm
    Hi All,
    I'm just now trying jit.anim.drive - Very cool possibilities.
    I didn't see an obvious way to have the object report when it is done with a "move"
    I'd like to have the completion of a moveto animation trigger another event (send a bang or give me a msg i can "route" to throw a switch or whatever - lol).
    Is there a way to do this?

    • Jun 18 2012 | 9:00 pm
      hi valentin. this is another feature that you'll have to wait for the next update.
      there will be an attribute in jit.anim.drive called @evalreport, that will cause the object to output values between 0 and 1, indicating the current state of the moveto, rotateto, and scaleto animations.
    • Mar 25 2013 | 4:49 pm
      Any chance of having @evalreport 1 reporting the status of "springto" in a near future?
    • Mar 28 2013 | 1:55 am
      springto doesn't have a determinable end, as it's a physical simulation rather than a simple interpolation between two points.
      you can roll your own by testing the speed of the object against some threshold value, to trigger a notification.