Activity › Forums › Adobe After Effects › Auto-Orient to Camera
-
Auto-Orient to Camera
Posted by Pat Bray on August 12, 2011 at 11:14 amHi
Is there a way to switch the auto-orient on and off during an animation?
P
Kevin Camp replied 14 years, 8 months ago 3 Members · 3 Replies -
3 Replies
-
Greg Burrus
August 12, 2011 at 11:31 amI haven’t used it before but based on the description it seems like this script might do the trick.
https://aescripts.com/autoorientcamera/
Greg
https://mogra.g2bproductions.com/ – Blog
https://g2bproductions.com/ – Portfolio -
Pat Bray
August 12, 2011 at 11:34 amThanks for the tip, not quite sure if this is what I’m after but looks handy anyways…
-
Kevin Camp
August 12, 2011 at 11:59 amyou can use the lookAt() expression to make a 3d orient a layer towards another 3d layer (essentially what orient to camera does, but it would give you more control).
here’s a simple expression for the orientation property:
target = thisComp.layer("Camera 1"); // set this to your camera
t = 5; // this is the point in time where you want it to stop looking at the camera, value in seconds.if (time < t){
lookAt(target.position, position);
}else{
value;
}Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW
Reply to this Discussion! Login or Sign Up