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.

Summary

Properties

The current distance between the RopeConstraint's two Attachment.

NOT REPLICATED

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.

The visualized thickness of the RopeConstraint.

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.

Properties

CurrentDistance

Not Replicated

The current distance between the RopeConstraint's two Attachment.

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.

Thickness

The visualized thickness of the RopeConstraint.

WinchEnabled

Enables the winch motor, which has the effect or reeling in or out the length of the rope to RopeConstraint.WinchTarget.

WinchForce

The maximum force that the winch motor can apply.

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.

WinchTarget

The target length for the winch motor.