PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

Restitution

RopeConstraint

float

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.

Restitution of 0

A RopeConstraint with a Restitution of 1 will be almost completely elastic when its Attachments reach their maximum separation.

Restitution of 1