# Sandbox.Physics.UprightJoint

A parallel joint that constrains the Z-axes of two bodies to be parallel using a spring.
Useful for keeping a physics body upright relative to another body or a static anchor.

- Kind: class
- Namespace: `Sandbox.Physics`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.Physics.PhysicsJoint](/api/Sandbox.Physics.PhysicsJoint)

## Properties

- [`DampingRatio`](/api/Sandbox.Physics.UprightJoint/DampingRatio): The spring damping ratio (non-dimensional). A value of 1 is critically damped; values below 1 are under-damped (springy).
- [`Hertz`](/api/Sandbox.Physics.UprightJoint/Hertz): The spring stiffness in cycles per second (Hertz). Higher values make the constraint stiffer.
- [`MaxTorque`](/api/Sandbox.Physics.UprightJoint/MaxTorque): The maximum torque the joint can apply.
