RopeConstraint
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.
Summary
Properties
The current distance between the RopeConstraint's two Attachment.
The maximum distance two Attachment can be when connected with a RopeConstraint. Measured in studs.
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.
Enables the winch motor.
The maximum force that the winch motor can apply.
The sharpness of the winch motor in reaching the RopeConstraint.WinchTarget.
A positive desired velocity at which the winch motor changes the rope length.
The target length for the winch motor.
Methods
Events
Properties
Length
The maximum distance two Attachment can be when connected with a RopeConstraint. Measured in studs.
Restitution
Restitution controls 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.
A RopeConstraint with a Restitution of 0 will not bounce when its Attachments reach their maximum separation.
A RopeConstraint with a Restitution of 1 will be almost completely elastic when its Attachments reach their maximum separation.
WinchEnabled
Enables the winch motor, which has the effect or reeling in or out the length of the rope to RopeConstraint.WinchTarget.
WinchResponsiveness
The sharpness of the winch motor in reaching the RopeConstraint.WinchTarget.
WinchSpeed
A positive desired velocity at which the winch motor changes the rope length.