Dynamic Hinge

Any idea how to make a dynamic hinge, for a door, or a trailer, or something like that? Does it have something to do with vertex parenting? If so, how do I do it?

You must use rigid body joint. I uploaded Erwin Coumans rigid body constraint tutorial.

Attachments

constraintsTutorial.blend (1.28 MB)

Cool. Thanks.