s&box docs
API ReferenceSandbox.Physics

public class Sandbox.Physics.SpringJoint : Sandbox.Physics.PhysicsJoint

A rope-like constraint that is has springy/bouncy.

Properties

Showing 6 properties

public float Sandbox.Physics.SpringJoint.MaxForce { get; set; }

Maximum force it should be allowed to go. Set to zero to only allow stretching.

public float Sandbox.Physics.SpringJoint.MaxLength { get; set; }

Maximum length it should be allowed to go

public float Sandbox.Physics.SpringJoint.MinForce { get; set; }

Minimum force it should be allowed to go.

public float Sandbox.Physics.SpringJoint.MinLength { get; set; }

Minimum length it should be allowed to go. At which point it acts a bit like a rod.

public float Sandbox.Physics.SpringJoint.ReferenceMass { get; set; }Obsolete

Obsolete: doesn't exist, not used

public Sandbox.Physics.PhysicsSpring Sandbox.Physics.SpringJoint.SpringLinear { get; set; }

How springy and tight the joint will be

Metadata

FieldValue
NamespaceSandbox.Physics
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.Physics.SpringJoint

On this page