Jump to content
Search Community

CptEO

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by CptEO

  1. Hi,

     

    I have been using TweenLite/TweenMax for some time and it is a really nice library.

    Unfortunately I have run into a strange problem.

     

    I have a simple shape (a square) which I have made into a movieclip with an instance name 'test'.

    Now i want to perform a simple rotationY tween to 90 in order to rotate the square in such a way that you only see its side (kind of like a line).

     

    I thought this simple code would do the trick:

     

    import com.greensock.*;
    import com.greensock.easing.*;
    TweenMax.to(test, 2, {rotationY:90, ease:Linear.easeNone});
    

     

    But now I see that the square doesn't exactly go to its side but rotates a bit further. If I use the following code it goed to exactly to its side:

     

    
    TweenMax.to(test, 2, {rotationY:86, ease:Linear.easeNone});
    

     

    It seems there is some kind of descrepancy there. I first thought it had something to do with the Perspective Angle setting, but changing this value does not give a different result.

     

    Any suggestions what is going wrong here?

×
×
  • Create New...