API ReferenceSandbox
public sealed class Sandbox.UprightJoint : Sandbox.Joint
Constrains a physics body to stay upright relative to another body or the world. Uses a spring to keep the Z-axes of both bodies parallel.
Constructors
Showing 1 constructors
public UprightJoint()
No results match this filter.
Properties
Showing 3 properties
public float Sandbox.UprightJoint.DampingRatio { get; set; }
Spring damping ratio (non-dimensional). A value of 1 is critically damped; values below 1 are springy, values above 1 are over-damped.
public float Sandbox.UprightJoint.Hertz { get; set; }
Spring stiffness in cycles per second (Hertz). Higher values make the joint stiffer and snap back faster.
public float Sandbox.UprightJoint.MaxTorque { get; set; }
Maximum torque the joint can apply in newton-meters. Set to 0 for unlimited torque.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.UprightJoint |