PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

RopeConstraint

Show deprecated

RopeConstraint

Show deprecated

A RopeConstraint constrains two Attachment to separate no further than the length specified by RopeConstraint/Length. The attachments can move closer together than this length and can both freely rotate.


Properties

float

CurrentDistance

[ReadOnly] [NotReplicated]

The current distance between the RopeConstraint’s two Attachment.

float

Length

The maximum distance two Attachment can be when connected with a RopeConstraint. Measured in studs.

float

Restitution

How elastic an Attachment connected by a RopeConstraint will be when reaching the end of the rope RopeConstraint/Length. The value of this property is constrained between 0 and 1.

float

Thickness

The visualized thickness of the RopeConstraint.

Functions

Events