Skip to main content
Inspiring
Oct 31, 2024 3:20 PM UTC
Question

Get global rotation of a text layer

Hi, could someone suggest a way to get global rotation of a text layer when an animator acts on it? In After Effects, when working with expressions, its boundbox does not work correctly if the layer is rotated by the animator. I want to try to get information through creating a plugin, but I need a kick of help

 
 
 

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Mylenium
Legend
Nov 1, 2024 8:15 AM UTC

There are no SDK hooks for any of that and that settles that. The only info you have is the outlines of the text via the AEGP_TextLayerSuite1 and the layer bounding box via the normal AEGP suites.

 

Mylenium

Translate
Mylenium
Legend
Oct 31, 2024 5:15 PM UTC

Unless you want to re-create the entire animator code there's no reliable way. For single words and single animators of course it would be as trivial as adding/ subtracting the animator value from the layer rotation, but anything beyond that gets infinitely complicated. There is no way to access the internal calculations and fetch the actual information.

 

Mylenium

Translate
HarchenkoAuthor
Inspiring
Nov 1, 2024 6:09 AM UTC

I just want to clarify to be 100% sure that this is not possible.
Are you a C++ plugin developer for After Effects?

Translate