Change point of rotation

Topics: Developer Forum
Feb 25, 2013 at 1:09 AM
Edited Feb 25, 2013 at 1:10 AM
I'm trying to change the point of rotation on a rectangle body so it rotates closer to the rear end and not in the centre of the object (like a car for example) but I seem to be having trouble finding the correct way.

Is there a simple method that sets the point of origin or do I need to do something more advanced?

Sorry for the lack of code examples, I'm on my work PC and don't have access to my source code at the moment :(
Mar 1, 2013 at 2:58 PM
I think the LocalCenter property on Body is what you're looking for.

Cheers,
Mike.
Mar 1, 2013 at 10:44 PM
That did the job. Thanks Mike!

Sent from my Windows Phone

From: mheydlauf
Sent: ‎2/‎03/‎2013 2:59 AM
To: cernji@live.com
Subject: Re: Change point of rotation [FarseerPhysics:434352]

From: mheydlauf

I think the LocalCenter property on Body is what you're looking for.

Cheers,
Mike.