# 3D Joints
Play Demo
Demonstrates:
- PinJoint3D: chain of RigidBody3D spheres swinging as a pendulum
- HingeJoint3D: door panel rotating on a vertical hinge axis
- StaticBody3D as fixed anchor / hinge post
- PhysicsServer handles all constraint solving automatically
Controls:
Space - Push the door
R - Reset scene
Left/Right - Orbit camera
Escape - Quit
Run: uv run python packages/graphics/examples/3d_joints.py
## Source Code
```{literalinclude} ../../packages/graphics/examples/3d_joints.py
:language: python
:linenos:
```