Rotating an infinite mass body/shape [SOLVED]

Official forum for the Chipmunk2D Physics Library.
Post Reply
joshcryer
Posts: 18
Joined: Wed Sep 26, 2007 8:19 pm
Contact:

Rotating an infinite mass body/shape [SOLVED]

Post by joshcryer »

I have an infinite mass body that I want to rotate around a circle, but it's not immediately clear to me how I can get it to rotate around a central point. I'm looking at joints but I'm not sure I can do it that way, and I'm late for work, so if someone could please give me some insight I'd really appreciate it. :)
Last edited by joshcryer on Wed Nov 14, 2007 9:10 am, edited 1 time in total.
joshcryer
Posts: 18
Joined: Wed Sep 26, 2007 8:19 pm
Contact:

Re: Rotating an infinite mass body/shape

Post by joshcryer »

It was just a matter of using cpBodySetAngle(). :)

Sorry for the bother, but if anyone fails to read the docs properly as I did, there's how you do it.
Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests