rotation of object

Hi friends,

I am preparing a game in which i wanted to rotate an object with fixed reference. the movement will be according to the movement of touch. Can anyone help me out with it?

Hoping for reply soon

Regards
Varun [import]uid: 130269 topic_id: 24562 reply_id: 324562[/import]

I need a little more clarity.

You want to rotate an object, so is the object rotated by touch + drag, or are you touching it and it then rotates on it’s own, or what?

You set your display object, like a newRect, and then the joint, most likely a pivot or something like that.

That’s very easy to do, I can give you an example. I just need to know what you are after?

ng [import]uid: 61600 topic_id: 24562 reply_id: 99434[/import]

Hi,

Ya I need in touch+ drag. Sorry forgot to mention. And ya I want one more help in that I wanted to apply force in the direction set after rotation.

Regards
Varun [import]uid: 130269 topic_id: 24562 reply_id: 99437[/import]