How to apply Inverse Rotation?

Official forum for the Chipmunk2D Physics Library.
Post Reply
Raal
Posts: 1
Joined: Thu Mar 12, 2009 9:19 pm
Contact:

How to apply Inverse Rotation?

Post by Raal »

Hi,

I'm currently using cpBody->w to rotate static objects, as per the rotating box chipmunk demo. This is working well (rotating anti-clockwise) but I am also trying to find out how to rotate the object in the opposite direction (clockwise)?

Thank You. :D
Ostsol
Posts: 12
Joined: Sat Jan 26, 2008 9:16 pm
Contact:

Re: How to apply Inverse Rotation?

Post by Ostsol »

Set w to a negative value.
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests