-
Trying to move an object’s position through a dataset of points with an expression
Hey all,
I have a data set of around 500 X,Y points that I’d like an object to jump to in succession. I’d like the object to sit at each spot for roughly three frames and then move on.Is there a simple way to do this using an Expression on the Position of the object?
I’ve been scouring the internet but I’m new to expressions and have a feeling I’m searching down the wrong rabbit hole.
My guess is there’s a bit of code that could be inserted between each position using TextWrangler or something like it that would say something like:
Go here [first position] for 3 frames.
Then go here [second position] for 3 frames.
And then just repeat that code all the way through?
I might be way way off on this though.Here are the first five positions if that helps:
172,164
576,412
340,668
896,332
824,832Also, The Comp size is 1920×1080.
Thank you so much in advance for any help or advice you could give me!
All the best,
Gregor