Fixed position, rotating object.

Hey,

I've done a bit of searching but can't really find what I am looking for, could someone point me in the right direction of how to make a body stay in position like a static body, but I would like the rotation to be effected by dynamic objects hitting it. Is this possible?

Cheers!
Use a revolute joint.
A revolute joint can just attach a body to the stage/world? I thought it only connected two bodies together.
Got it, thanks!
I'm also having problems with this. Would you mind posting a little bit more or a code snippet that you found to work?

Thanks.
This is almost exactly what I need to do too haha 😀

How do you go about attaching the body to the 'world'? I'd actually like my object to continually rotate, regardless of other objects hitting it, do I actually need to create a joint? Or would it be best to create a static object and manually rotate it?
b2world.GetGroundBody () is the reference to the worlds 'body'

Original thread: https://box2d.org/forum/viewtopic.php?t=4583