Hi Jack,
currently, I wrapped my tweenmax animation to the setInterval () say every 1000ms. this way, the animation repeats say every 1secs.
And I can't use tweenmax repeat properties because I don't want to repeat the same animation again. So I used the Bezier Plugin class to repeat the animation at random bezier points everytime the animation repeats thereby creating a unique animation everytime the setInterval () is called.
Its working so far and my object is wandering around the container. check here http://jsfiddle.net/anagnam/6snL5/9/embedded/result/
So instead of using a setInterval(), I was hoping I could use the "ticker property" to trigger the repeat of my animation. Unfortunately, I can't find a good example for the ticket property that I can use for my project.
Ultimately, what I want to achieve is this:
I have an insect(it can be any, say a bug for example) that is roaming around and when it collides with an object, it will repel and change its animation path.
so I was thinking of using the "ticker property" to dispatch the repeat of my bezier animation.
I know it can be done but I dont know how