Difference between revisions of "B2.Joint"
From GiderosMobile
Line 4: | Line 4: | ||
=== Description === | === Description === | ||
<translate><br /> | <translate><br /> | ||
− | The [[b2.Joint]] class is the base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors. <br /> | + | The [[Special:MyLanguage/b2.Joint|b2.Joint]] class is the base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors. <br /> |
<br /></translate> | <br /></translate> | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Methods === | === Methods === | ||
− | [[b2.Joint:getAnchorA]] ''<translate>returns the anchor point on bodyA in world coordinates</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getAnchorA|b2.Joint:getAnchorA]] ''<translate>returns the anchor point on bodyA in world coordinates</translate>''<br/> |
− | [[b2.Joint:getAnchorB]] ''<translate>returns the anchor point on bodyB in world coordinates</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getAnchorB|b2.Joint:getAnchorB]] ''<translate>returns the anchor point on bodyB in world coordinates</translate>''<br/> |
− | [[b2.Joint:getBodyA]] ''<translate>returns the first body attached to this joint</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getBodyA|b2.Joint:getBodyA]] ''<translate>returns the first body attached to this joint</translate>''<br/> |
− | [[b2.Joint:getBodyB]] ''<translate>returns the second body attached to this joint</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getBodyB|b2.Joint:getBodyB]] ''<translate>returns the second body attached to this joint</translate>''<br/> |
− | [[b2.Joint:getReactionForce]] ''<translate>returns the reaction force on bodyB at the joint anchor</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getReactionForce|b2.Joint:getReactionForce]] ''<translate>returns the reaction force on bodyB at the joint anchor</translate>''<br/> |
− | [[b2.Joint:getReactionTorque]] ''<translate>returns the reaction torque on bodyB</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getReactionTorque|b2.Joint:getReactionTorque]] ''<translate>returns the reaction torque on bodyB</translate>''<br/> |
− | [[b2.Joint:getType]] ''<translate>returns a value that represents the type</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:getType|b2.Joint:getType]] ''<translate>returns a value that represents the type</translate>''<br/> |
− | [[b2.Joint:isActive]] ''<translate>is active?</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:isActive|b2.Joint:isActive]] ''<translate>is active?</translate>''<br/> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== Events === | === Events === | ||
=== Constants === | === Constants === | ||
|} | |} |
Revision as of 16:35, 23 August 2018
Supported platforms: android, ios, mac, pc
Available since: Gideros 2011.6
Description
The b2.Joint class is the base joint class. Joints are used to constraint two bodies together in various fashions. Some joints also feature limits and motors.
Methodsb2.Joint:getAnchorA returns the anchor point on bodyA in world coordinates |
EventsConstants |