physics like phys_hinge

How does phys_hinge even work? Like how I make a rope connected to something or a moving door that is connected to a hinge and moves right or something like that, how does this even work?

How do I set the limits of an angle for it is there any cind of tutorial for this?

I googled “hammer phys rope” and got this.

As for phys_hinge, that does look lightly more complex at a glance, but another simple google search gets you this. It’s exactly what you were asking for. furthermore, this tells you how to find an example vmf, and came up in the same search. This also came up in the google searches, and is useful. I sincerely hope that’s not actually what you needed, because if so, you could have found all that by yourself…