Difference between revisions of "B2.PulleyJoint:getGroundAnchorA"
From GiderosMobile
Line 3: | Line 3: | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.PulleyJoint|b2.PulleyJoint]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/b2.PulleyJoint|b2.PulleyJoint]]<br/> | ||
+ | |||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | + | Returns the x and y coordinates of the first ground anchor. | |
− | Returns the x and y coordinates of the first ground anchor. | ||
− | |||
<source lang="lua"> | <source lang="lua"> | ||
(number), (number) = b2.PulleyJoint:getGroundAnchorA() | (number), (number) = b2.PulleyJoint:getGroundAnchorA() | ||
</source> | </source> | ||
+ | |||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (number) <translate>x coordinates of the first ground anchor</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>x coordinates of the first ground anchor</translate><br/> | ||
'''<translate>Returns</translate>''' (number) <translate>y coordinates of the first ground anchor</translate><br/> | '''<translate>Returns</translate>''' (number) <translate>y coordinates of the first ground anchor</translate><br/> | ||
+ | |||
+ | {{B2.PulleyJoint}} |
Revision as of 01:45, 18 February 2020
Available since: Gideros 2011.6
Class: b2.PulleyJoint
Description
Returns the x and y coordinates of the first ground anchor.
(number), (number) = b2.PulleyJoint:getGroundAnchorA()
Return values
Returns (number) x coordinates of the first ground anchor
Returns (number) y coordinates of the first ground anchor