Difference between revisions of "B2.Joint"
From GiderosMobile
Line 2: | Line 2: | ||
'''Supported platforms:''' android, ios, mac, pc<br/> | '''Supported platforms:''' android, ios, mac, pc<br/> | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
− | === Description === | + | === <translate>Description</translate> === |
<translate><br /> | <translate><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 /> | 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 /> | ||
Line 8: | Line 8: | ||
{|- | {|- | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Methods === | + | === <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/> | ||
[[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/> | ||
Line 18: | Line 18: | ||
[[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/> | ||
| style="width: 50%; vertical-align:top;"| | | style="width: 50%; vertical-align:top;"| | ||
− | === Events === | + | === <translate>Events</translate> === |
− | === Constants === | + | === <translate>Constants</translate> === |
|} | |} |
Revision as of 07:28, 24 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 |