B2.PulleyJoint:getGroundAnchorA: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "<source" to "<syntaxhighlight"
Line 6: Line 6:
=== <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">
<syntaxhighlight lang="lua">
(number), (number) = b2.PulleyJoint:getGroundAnchorA()
(number), (number) = b2.PulleyJoint:getGroundAnchorA()
</source>
</source>

Revision as of 15:59, 12 July 2023


Available since: Gideros 2011.6
Class: b2.PulleyJoint

Description

Returns the x and y coordinates of the first ground anchor. <syntaxhighlight lang="lua"> (number), (number) = b2.PulleyJoint:getGroundAnchorA() </source>

Return values

Returns (number) x coordinates of the first ground anchor
Returns (number) y coordinates of the first ground anchor




LiquidFun