Rotating doors as Physboxes?

How do I make a rotating door that’s free on a hinge in Hammer? Like just a physbox attached to a hinge. And how do I keep the hinge side from colliding with the doorway?
I also need it to return back to it’s original location after it’s moved.

func_physbox parented on phys_hinge? i haven’t experienced with that, but that’s how i think you would do it

Uh, no. You attach the physbox in one of the attachment keyvalues on the phys_hinge, parenting it to the phys_hinge will make it immobile.

phys_hinge with the func_physbox as one field of the constraint and the other left blank (which attaches to worldspawn by default).

or you can use a phys_motor with no velocity