Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87530

Re: Baking Parented Motion into Keyframes

$
0
0

Is this 2D? If so, you should be able to do something like this for position:

 

target = thisComp.layer("target");

target.toComp(target.anchorPoint);

 

and like this for rotation:

 

target = thisComp.layer("target");

v = target.toCompVec([1,0,0]);

radiansToDegrees(Math.atan2(v[1],v[0]))

 

 

Dan


Viewing all articles
Browse latest Browse all 87530

Trending Articles



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