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

3D Rotation Issues

Contributor ,
Oct 03, 2011 Oct 03, 2011

I have been playing with the 3D rotations of a movie clip and have noticed some issues.  Let me explain the setup.  I have a movieclip that has children movieclips.  In 2D (working fine), I can tap and drag these children around on the screen.  However, if I rotate it on the X axis (mc.rotationX), the movie clip becomes very pixellated.  I also noticed that once the rotation is applied, the children in the movie clip I am rotating no longer move (although the event of touch is firing). 

Rotating it back to 0 doesn't help.  The only way I can get the smoothness back and children to move is by re-running the app.  I am ok with the pixellation (although not sure why since it is vector) and the non moving children as long as I can get it workign without a restart.

Any thoughts?

TOPICS
Development
557
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

correct answers 1 Correct answer

LEGEND , Oct 03, 2011 Oct 03, 2011

Any 3D changes will cache the movieclip as a bitmap. That means it's a snapshot of its contents, and you'll get a pixellated look to it if you do rotations.

Translate
LEGEND ,
Oct 03, 2011 Oct 03, 2011

Any 3D changes will cache the movieclip as a bitmap. That means it's a snapshot of its contents, and you'll get a pixellated look to it if you do rotations.

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
Contributor ,
Oct 03, 2011 Oct 03, 2011

Ok, thanks for the info.  Any way to work around this?  Should I duplicate a clip so that I can still go back and use my clip?  I want to show it in 3D as an image but then revert to 2D and then interact with it again.

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
LEGEND ,
Oct 03, 2011 Oct 03, 2011
LATEST

I found a page where someone seemed to fix it by doing this:

var myMatrix3D:Matrix3D = ref.transform.matrix3D;

myMatrix3D = null;

ref.transform.matrix3D = null;

where 'ref' would be your movieclip.

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