Skip to main content
Known Participant
April 24, 2011
Answered

rotationY problem

  • April 24, 2011
  • 1 reply
  • 475 views

hi

as you can see from the image, even if rotationY property of all 4 items are the same, they do not rotate at same amount. each image are inside of a container and containers are added to stage. why is it the case? how can i fix it?

thanks...

This topic has been closed for replies.
Correct answer Andrei1-bKoviI

3D rotations happen relative to parent 3D container - in other words, by default all the objects are rotated as if reside in the same 3D space with the same focal point.

Try to implement  PerspectiveProjection and 3d matrix:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/PerspectiveProjection.html

1 reply

Andrei1-bKoviICorrect answer
Inspiring
April 24, 2011

3D rotations happen relative to parent 3D container - in other words, by default all the objects are rotated as if reside in the same 3D space with the same focal point.

Try to implement  PerspectiveProjection and 3d matrix:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/geom/PerspectiveProjection.html

Known Participant
April 24, 2011

thanks buddy... appreciated...