Difference between revisions of "B2.RopeJoint"
From GiderosMobile
Line 8: | Line 8: | ||
A model that would allow you to dynamically modify the length would have some sponginess, so I chose not to implement it that way.<br /> | A model that would allow you to dynamically modify the length would have some sponginess, so I chose not to implement it that way.<br /> | ||
See `b2.DistanceJoint` if you want to dynamically control length. <br /> | See `b2.DistanceJoint` if you want to dynamically control length. <br /> | ||
− | <br /> | + | <br />{|- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {|- | ||
| style="width: 50%;"| | | style="width: 50%;"| | ||
=== Methods === | === Methods === |
Revision as of 09:12, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
A rope joint enforces a maximum distance between two points on two bodies. It has no other effect.
Warning: if you attempt to change the maximum length during the simulation you will get some non-physical behavior.
A model that would allow you to dynamically modify the length would have some sponginess, so I chose not to implement it that way.
See `b2.DistanceJoint` if you want to dynamically control length.
{|-
| style="width: 50%;"|
Methods
b2.RopeJoint:getMaxLength -
b2.RopeJoint:setMaxLength -
| style="width: 50%;"|
Events
Constants
|}