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

RodConstraint

Show deprecated

RodConstraint

Show deprecated

A RodConstraint constrains two Attachment|Attachments to remain separated by the value specified by RodConstraint/Length. While the attachments remain at a set distance from one another, they can both rotate freely.

Note that if this constraint attaches one part (A) to another part (B) that is anchored or connected to an anchored part (Z), part A will not be locally simulated when interacting with a player.

Properties

float

CurrentDistance

[ReadOnly] [NotReplicated]

The current distance between the RodConstraint’s two Attachment.

float

Length

The distance apart the RodConstraint attempts to keep its Attachment at. Measured in studs.

float

Thickness

The visualized thickness of the RodConstraint.

Functions

Events