I'm currently doing an assignment for university involving a twitter bird produced with Photoshop CS5.
I have made the bird, imported it into AE CS5 and put 6 puppet pins mainly in the wings
The current position of PUPPET PIN 3 out of 6 is X 344 and Y 285.
All's I want to do is a move position X 344 to X 399 and back again constantly so the birds wings are appearing to be flapping. Key frames could be used but would be very time consuming as the twitter bird will be flying constantly throughout the 1 minute long video.
The only expression line it gives you is:
effect("Puppet").arap.mesh("Mesh 1").deform("Puppet Pin 3").position
But sadly i'm quite new to AE and only seen simple expressions like Wiggle(2,30) being performed.
Many thanks, hope i get some good advice as this will be a big worry out the way for my video.
Can't give exact expression, but I try to help you figure it out.
Math.Sin is what you want.
Sin goes from 1 to -1, so you'll need to adjust it to fit your 399 to 285 (399-285 = 114).. So you want it to go 0 to 114, and then add 285 to result.
Hope that gets you looking in the right direction.
Thanks for the links, its definitely a point in the right direction!
Iv'e managed to do this and get the wings flapping!
Just hope i can move the bird and his wings still flap