# Sandbox.Physics.PhysicsJoint

A physics constraint.

- Kind: class
- Namespace: `Sandbox.Physics`
- Assembly: `Sandbox.Engine`

## Properties

- [`AngularStrength`](/api/Sandbox.Physics.PhysicsJoint/AngularStrength): Strength of the angular constraint. If it takes any more energy than this, it'll break.
- [`Body1`](/api/Sandbox.Physics.PhysicsJoint/Body1): The source physics body this joint is attached to.
- [`Body2`](/api/Sandbox.Physics.PhysicsJoint/Body2): The target physics body this joint is constraining.
- [`Collisions`](/api/Sandbox.Physics.PhysicsJoint/Collisions): Enables or disables collisions between the 2 constrained physics bodies.
- [`IsActive`](/api/Sandbox.Physics.PhysicsJoint/IsActive)
- [`Point1`](/api/Sandbox.Physics.PhysicsJoint/Point1): A specific point this joint is attached at on [Sandbox.Physics.PhysicsJoint.Body1](/api/Sandbox.Physics.PhysicsJoint/Body1)
- [`Point2`](/api/Sandbox.Physics.PhysicsJoint/Point2): A specific point this joint is attached at on [Sandbox.Physics.PhysicsJoint.Body2](/api/Sandbox.Physics.PhysicsJoint/Body2)
- [`Strength`](/api/Sandbox.Physics.PhysicsJoint/Strength): Strength of the linear constraint. If it takes any more energy than this, it'll break.
- [`World`](/api/Sandbox.Physics.PhysicsJoint/World): The [Sandbox.PhysicsWorld](/api/Sandbox.PhysicsWorld) this joint belongs to.

## Methods

- [`CreateBallSocket`](/api/Sandbox.Physics.PhysicsJoint/CreateBallSocket): Creates a ball socket constraint.
- [`CreateControl`](/api/Sandbox.Physics.PhysicsJoint/CreateControl)
- [`CreateFixed`](/api/Sandbox.Physics.PhysicsJoint/CreateFixed): Creates an almost solid constraint between two physics bodies.
- [`CreateHinge`](/api/Sandbox.Physics.PhysicsJoint/CreateHinge)
- [`CreateLength`](/api/Sandbox.Physics.PhysicsJoint/CreateLength): Creates a constraint like a rope, where it has no minimum length but its max length is restrained.
- [`CreatePulley`](/api/Sandbox.Physics.PhysicsJoint/CreatePulley)
- [`CreateSlider`](/api/Sandbox.Physics.PhysicsJoint/CreateSlider): Creates a slider constraint between two physics bodies via [Sandbox.Physics.PhysicsPoint](/api/Sandbox.Physics.PhysicsPoint)s.
- [`CreateSpring`](/api/Sandbox.Physics.PhysicsJoint/CreateSpring): Creates a constraint that will try to stay the same length, like a spring, or a rod.
- [`CreateUpright`](/api/Sandbox.Physics.PhysicsJoint/CreateUpright)
- [`Remove`](/api/Sandbox.Physics.PhysicsJoint/Remove): Removes this joint.
