-
follow the leader Expression(s) for 3D position and rotation(s)
OK, so I’m working on creating some movement using Dan Ebberts expression:
start = 0; //start time of template motion
end = 4.0; //end time of template motiont = thisComp.layer(“template”);
offset = (t.effect(“offset”)(“Slider”)/100)*(index -1);
travel = linear(t.effect(“travel”)(“Slider”)/100,start,end);
t.position.valueAtTime(travel – offset)
Awsome expression and controls, Thanks Dan’
See sample image at link:
https://www.animationage.com/Slide-1.jpgThe motion path that the screens are on have subtle 3D attributes including z-space and rotation…. AND THERE ARE 3 POSITION POINTS (so the script is not able to have accurate spacing between points… I’m going to try to just work with 2 position properties to resolve this issue)
So now I’d like to animate the X Y and Z rotations in the same way as the above expression allows for position (Not using auto orient, but rather the manual rotation of the null) For each object on the path the rotation will be different depending on where on the path it is. (Simply put: Each object will have the same rotation when it is on the same point on the path)
Essentially, I’m animating a ‘train’ of live video screens along a path in 3D space:The images slide in from left to right and then ease to a halt… I can easily swap out the video (I’ve pre-comped everything) and slide thru the list to the frame I want.
I’ll then have one of the frames zoom forward (I’ll parent the layer to another null for this)… It seems pretty straight forward but I’m having a hard time deciding the best way to make all this happen.
Any and all ideas are welcome…
Thanks for your help 🙂
Mike