I am working on a top down game using physics.
I am trying to make a 'Door', and am hoping someone has a good idea on how to control the physics objects.
I have it set up as a hinge sprite and a door sprite currently(hinged), which works well for a free swinging door, but I do not know how to make specific control states, like a close/locked door.
toggling the 'immovable' option breaks hinges.
<img src="http://dl.dropbox.com/u/1487524/Scirra/PhysicsDoor.png" border="0" />
This is the current set up, the red base is the hinge sprite, the green sprite is the door and the orange sprites are walls. I have created a small orange sprite as a sort of door stop to limit the angle range.
Anyone have any ideas on how to make something like this?