Difference between revisions of "B2.Joint"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <!-- GIDEROSOBJ:b2.Joint --> | ||
'''<translate>Supported platforms</translate>:''' [[File:Platform android.png]][[File:Platform ios.png]][[File:Platform mac.png]][[File:Platform pc.png]]<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/> | ||
Line 9: | Line 10: | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Methods</translate> === | === <translate>Methods</translate> === | ||
− | [[Special:MyLanguage/b2.Joint:getAnchorA|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/><!-- GIDEROSMTD:b2.Joint:getAnchorA --> |
− | [[Special:MyLanguage/b2.Joint:getAnchorB|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/><!-- GIDEROSMTD:b2.Joint:getAnchorB --> |
− | [[Special:MyLanguage/b2.Joint:getBodyA|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/><!-- GIDEROSMTD:b2.Joint:getBodyA --> |
− | [[Special:MyLanguage/b2.Joint:getBodyB|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/><!-- GIDEROSMTD:b2.Joint:getBodyB --> |
− | [[Special:MyLanguage/b2.Joint:getReactionForce|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/><!-- GIDEROSMTD:b2.Joint:getReactionForce --> |
− | [[Special:MyLanguage/b2.Joint:getReactionTorque|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/><!-- GIDEROSMTD:b2.Joint:getReactionTorque --> |
− | [[Special:MyLanguage/b2.Joint:getType|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/><!-- GIDEROSMTD:b2.Joint:getType --> |
− | [[Special:MyLanguage/b2.Joint:isActive|b2.Joint:isActive]] ''<translate>is active?</translate>''<br/> | + | [[Special:MyLanguage/b2.Joint:isActive|b2.Joint:isActive]] ''<translate>is active?</translate>''<br/><!-- GIDEROSMTD:b2.Joint:isActive --> |
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
=== <translate>Events</translate> === | === <translate>Events</translate> === | ||
=== <translate>Constants</translate> === | === <translate>Constants</translate> === | ||
|} | |} |
Revision as of 14:56, 31 August 2018
Supported platforms:
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 |