Api Sandbox VerletRope
class

VerletRope

public class VerletRope : Component

Verlet integration-based rope physics simulation component.

Constructors

VerletRope()

Properties

Name Type Description
Attachment GameObject The GameObject the end of the rope attaches to.
LinkedRenderer LineRenderer The LineRenderer used to visualize the rope.
Slack Single Additional slack, added to the rope length.
SegmentCount Int32 Number of segments in the rope. Higher values increase visual fidelity and collision accuracy but quickly reduce performance.
Radius Single Radius of the rope for collision detection.
LengthOverride Single Controls the rope's length directly, will override the initial length and slack will not be applied. When set to 0, the rope's initial length between attachment points is used.
Stiffness Single Rope stiffness factor. Higher values make the rope more rigid.
DampingFactor Single Dampens rope movement. Higher values make the rope settle faster.
SoftBendFactor Single Controls how easily the rope bends. Lower values allow more bending, higher values make it stiffer.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.VerletRope