A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: get coordinates of 3d rotated MovieClip

  1. #1

    get coordinates of 3d rotated MovieClip

    Hi, I have animated a MovieClip using z depth and rotationY. I what to get the x and y coordinated of the top left corner in 2d space.

    If i
    mc.rotationY = 10;
    (x=0, y=0, w=299.5, h=299.5)
    (x=0, y=0, w=299, h=303)
    Any help appreciated

  2. #2
    Mod cancerinform's Avatar
    Join Date
    Mar 2002
    press the picture...
    I don't know you have solved this, but the way you are doing it is correct. I don't understand why the x and y does not change after the rotation. I tested this once with a rectangle and x or y always changes.
    - The right of the People to create Flash movies shall not be infringed. -

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center