# Sandbox.HingeJointBuilder

Builds a hinge joint that rotates around one axis.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.PhysicsJointBuilder](/api/Sandbox.PhysicsJointBuilder)
- Modifiers: sealed

## Properties

- [`EnableMotor`](/api/Sandbox.HingeJointBuilder/EnableMotor): Whether the hinge's angular motor is enabled.
- [`EnableTwistLimit`](/api/Sandbox.HingeJointBuilder/EnableTwistLimit): Whether the hinge enforces a twist angle limit.
- [`MaxTorque`](/api/Sandbox.HingeJointBuilder/MaxTorque): Maximum torque the motor may apply.
- [`TargetVelocity`](/api/Sandbox.HingeJointBuilder/TargetVelocity): Target angular velocity for the motor.
- [`TwistLimit`](/api/Sandbox.HingeJointBuilder/TwistLimit): The minimum and maximum allowed twist angles (degrees).

## Methods

- [`WithMaxTorque`](/api/Sandbox.HingeJointBuilder/WithMaxTorque)
- [`WithTargetVelocity`](/api/Sandbox.HingeJointBuilder/WithTargetVelocity): Sets the target angular velocity and enables the motor.
- [`WithTwistLimit`](/api/Sandbox.HingeJointBuilder/WithTwistLimit): Sets and enables the twist angle limits.
