API ReferenceSandbox.Physics

SpringJointclass

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

objectPhysicsJointSpringJoint
Namespace
Sandbox.Physics
Assembly
Sandbox.Engine
Declaration
public class Sandbox.Physics.SpringJoint : Sandbox.Physics.PhysicsJoint

Properties6

Showing 6 properties

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

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

Returns:float

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

Maximum length it should be allowed to go

Returns:float

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

Minimum force it should be allowed to go.

Returns:float

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

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

Returns:float

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

Obsolete: doesn't exist, not used

Returns:float

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

How springy and tight the joint will be

Returns:PhysicsSpring

On this page