Difference between revisions of "B2.RopeJoint"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''<translate>Supported platforms</translate>:''' [[File:Platform android]][[File:Platform ios]][[File:Platform mac]][[File:Platform pc]]<br/> | + | '''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<br/> |
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Inherits from</translate>:''' [[Special:MyLanguage/b2.Joint|b2.Joint]]<br/> | '''<translate>Inherits from</translate>:''' [[Special:MyLanguage/b2.Joint|b2.Joint]]<br/> | ||
Line 8: | Line 8: | ||
Warning: if you attempt to change the maximum length during the simulation you will get some non-physical behavior.<br /> | Warning: if you attempt to change the maximum length during the simulation you will get some non-physical behavior.<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 /> | 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 | + | See [[Special:MyLanguage/b2.DistanceJoint|b2.DistanceJoint]] if you want to dynamically control length. <br /> |
<br /></translate> | <br /></translate> | ||
{|- | {|- |
Revision as of 09:35, 24 August 2018
Supported platforms:
Available since: Gideros 2011.6
Inherits from: b2.Joint
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.
Methods |
EventsConstants |