Readonly fileReadonly fileThe color of this shape.
The shapeId of this shape. Determines the model and behavior in-game.
The stiffness of the suspension joint.
Protected updateStatic _internalStatic convertAttempts to convert a Joint to SuspensionJoint. Only returns if the Joint's file object is a SuspensionJoint.
The converted SuspensionJoint, or undefined if the Joint was not a SuspensionJoint.
The Joint to convert.
Static createCreates a suspension joint.
The position of the suspension joint.
The rotation of the suspension joint.
The first child of the suspension joint.
Optional childB: ChildThe second child of the suspension joint. Optional.
Optional color: stringThe color of the suspension joint. Fallbacks to the suspension's default color.
Whether the suspension is a sport suspension. Defaults to false.
The stiffness of the suspension. Defaults to 6.
Generated using TypeDoc
Represents a suspension joint.