Quantcast
Channel: Adobe Community : Popular Discussions - After Effects Expressions
Viewing all articles
Browse latest Browse all 47983

"No active camera" error

$
0
0

Ran into this problem tonight with a couple expressions I've used in the past in CS3+. My scene has 1 camera. It it's set to active and the eyeball is on and its in/out is the length of my comp. Is 'activeCamera' broken in CS6?

 

These expressions are turning off:

 

delta = toWorld(anchorPoint) - thisComp.activeCamera.toWorld([0,0,0]);

radiansToDegrees(Math.atan2(delta[0],delta[2]))

 

and

 

C = thisComp.activeCamera;

V = C.toWorldVec([0,0,1]);

P = toWorld(anchorPoint);

lookAt(P, P + V)[0];



Viewing all articles
Browse latest Browse all 47983

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>