transition rotation

Hi all

I included this in another post but didn’t find out what I want to know, so sorry for asking same the thing in two separate posts.

is there a transition style function that rotates the object, i want some thing to rotate ten times when touched. if not what is the best way to achieve this???

cheers
chris [import]uid: 7388 topic_id: 5344 reply_id: 305344[/import]

http://developer.anscamobile.com/reference/index/transitionto
http://developer.anscamobile.com/content/objectrotation [import]uid: 12108 topic_id: 5344 reply_id: 17821[/import]

Hi all

Thanks for the quick response jhocking, I have tried these functions before, and yes they rotate the image, but I want them to animate to the new angle. Think I shall have to create an animation video to do this.

Many thanks
Chris [import]uid: 7388 topic_id: 5344 reply_id: 17865[/import]

not sure what the problem is here. what’s wrong with

[lua]transition.to( square, { time=500, rotation=newAngle}) [/lua]

? [import]uid: 6645 topic_id: 5344 reply_id: 17898[/import]

I must be stupid (ok thats a given), but I have looked at all the docs and couldn’t find it.

Many thanks jmp909

Chris [import]uid: 7388 topic_id: 5344 reply_id: 17911[/import]

…it was the first link I posted. [import]uid: 12108 topic_id: 5344 reply_id: 17928[/import]

:slight_smile: [import]uid: 6645 topic_id: 5344 reply_id: 18041[/import]

:slight_smile: :0

so sorry did not see that, just taken a couple of days off, I was getting lost a little in all the docs.

wait and see I am trying to work out how to code a very simple drawing style app, so expect more equally stupid questions :wink:

Chris [import]uid: 7388 topic_id: 5344 reply_id: 18147[/import]