How I can make a display image rotate around it's center as it moves?

Hi,

I have DisplayImages that move from top to bottom of the screen and I attached physic to them to detect collision. Thing is to make the game more interesting, I want to make the DisplayObjects to rotate around it’s center as it goes downward.

Imagine that if DisplayImage is a person, it would rotate around it’s belly button!

How can I do that?

Thanks.

try it with the transition.to() or use the object:rotate() function…

Like michael said, to make it rotate, something like:

   transition to( object, { rotation=360, time=1000} )

Thanks for the replies but I don’t know it’s final destination, I just want it to rotate around itself wherever it may roam.

try it with the transition.to() or use the object:rotate() function…

Like michael said, to make it rotate, something like:

   transition to( object, { rotation=360, time=1000} )

Thanks for the replies but I don’t know it’s final destination, I just want it to rotate around itself wherever it may roam.