API ReferenceSandbox.Physics
UprightJointclass
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.
Properties3
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).
Returns:
float—public float Sandbox.Physics.UprightJoint.Hertz { get; set; }
The spring stiffness in cycles per second (Hertz). Higher values make the constraint stiffer.
Returns:
float—public float Sandbox.Physics.UprightJoint.MaxTorque { get; set; }
The maximum torque the joint can apply.
Returns:
float—No results match this filter.