Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Rotate transform.

Enthusiast ,
Mar 30, 2009 Mar 30, 2009
I would like to know how could I retrieve the rotation center for a transformation matrix (rotation matrix), applied to an art object.

Thx.
Thomas.
TOPICS
SDK
1.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Guide ,
Mar 31, 2009 Mar 31, 2009
If you have the matrix, AIRealMath.h has methods for pulling out the rotation. That said, I'm not sure how one gets the transformation matrix of an art object.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 06, 2009 Apr 06, 2009

yep, we could retrieve rotation component of a transformation matrix (angle in radians).

But how could we retrieve the rotation point (center) o fthis transformation for a given transformation matrix!

It's a bit tricky!

Depends on object type transformation matrix could be retrieved! see sdk!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Apr 06, 2009 Apr 06, 2009
LATEST

I don't think there's a way to get the rotation pont of a matrix, is there? I mean if you took a transformation matrix, a rotation matrix and anothe transformation matrix and concatonated them all together, wouldn't it be impossible to pull them apart again? Maybe it is, but I'm drawing a blank.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines