In this article, I will discuss grabbing a handle so we can pull open a drawer so we can grab a key that is hidden inside.

To do this, we will be using a configurable joint with the drawer. Joints are used to attach different gameobjects in the physics system and constrain them in different ways. Configurable joints essentially combine all of the joints into one configurable joint.

You will notice that the X and Y motion is locked and the Z motion is limited. This is so that we can open the drawer in only one direction and only up to a certain point.
The limit is configured within the Linear Limit settings.