Mailing List AE-List@media-motion.tv — Message #64112
From: Mathias Möhl <AE-List@media-motion.tv>
Subject: Re: [AE] sourceRectAtTime() time value
Date: Wed, 6 Jun 2018 08:47:38 +0200
To: After Effects Mail List <AE-List@media-motion.tv>

On 05 Jun 2018, at 20:56, Byron Nash <AE-List@media-motion.tv> wrote:

I assumed that if I put in a specific time value in the function that it would return the bounding box at that moment in time. Is that not how it works?

That is how it works. 
Also note that the bounding box is given in layer space, so you have to do any calculations resulting from transforming or parenting the layer yourself.

Example: If you keyframe the source text of a text layer, the bounding box will change over time (since the content changes and hence its bounding box).
If you move the layer by keyframing its position or parenting it, the source rect will not change, as it only changes in comp space but not in layer space.

Cheers,
Mathias

mamoworld.com
simplify your cgi

Dr. Mathias Möhl
Marlow 52 , 18551 Sagard, Germany
Phone +49 (0)38302 - 88 75 61
info@mamoworld.com



 
Subscribe (FEED) Subscribe (DIGEST) Subscribe (INDEX) Unsubscribe Mail to ListMaster