RopeConstraint

Show Deprecated

A RopeConstraint prevents two attachments from separating further than a defined Length. The attachments can move closer together than this length and both can freely rotate. This constraint can also be powered to behave as a motorized winch.

When configuring this constraint, it may be helpful to study Roblox Units to understand how Roblox units compare to metric units.

Winch

If a rope's WinchEnabled property is enabled, it attempts to translate the attachments to a set separation specified by WinchTarget, effectively the target length of the rope in studs. This translation is controlled by WinchSpeed, WinchResponsiveness, and WinchForce.

Note that WinchSpeed must be a positive value, used to either contract or extend the rope length to WinchTarget. Setting a negative speed will revert to 0, not reverse the winch servo direction.

Summary

Properties

Properties inherited from Constraint

Properties

Properties

CurrentDistance

Read Only
Not Replicated
Read Parallel

Length

Read Parallel

Restitution

Read Parallel

Thickness

Read Parallel

WinchEnabled

Read Parallel

WinchForce

Read Parallel

WinchResponsiveness

Read Parallel

WinchSpeed

Read Parallel

WinchTarget

Read Parallel

Methods

Events