API ReferenceSandbox.Physics
public class Sandbox.Physics.UprightJoint : Sandbox.Physics.PhysicsJoint
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.
Properties
Showing 3 properties
public float Sandbox.Physics.UprightJoint.DampingRatio { get; set; }
The spring damping ratio (non-dimensional). A value of 1 is critically damped; values below 1 are under-damped (springy).
public float Sandbox.Physics.UprightJoint.Hertz { get; set; }
The spring stiffness in cycles per second (Hertz). Higher values make the constraint stiffer.
public float Sandbox.Physics.UprightJoint.MaxTorque { get; set; }
The maximum torque the joint can apply.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Physics |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Physics.UprightJoint |