Aphrodite I know it is not a 3D Engine :p But yeah I mistake explaining ! But your example is pretty what I wanted to do!
Simulate rotating, things you can do with css3 and jquery (well, I did with css3 so it's why I wanted to know... ^^)
is there a capx showing how to do this?
Merci beaucoup
vioz absolutly ahah :p
I was basically:
Setting first two instance variables, ini_width and ini_height, to the sprite initial size
setting a variable called X_Angle, and to rotate it, setting the height of the sprite to:
Sprite.ini_height*cos(Sprite.X_Angle)
And a similar operation for the height
Depending on the origin point, you also might have to place the sprite correctly after (my exemple had it s origin first right in the center, then on the bottom left, which will affect the rotations)
I may have time to do an exemple capx when I'll be on ly computer if you want one.