Difference between revisions of "B2.PulleyJoint:getGroundAnchorB"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
Line 8: Line 8:
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number) = b2.PulleyJoint:getGroundAnchorB()
 
(number), (number) = b2.PulleyJoint:getGroundAnchorB()
</source>
+
</syntaxhighlight>
  
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===

Revision as of 16:36, 12 July 2023


Available since: Gideros 2011.6
Class: b2.PulleyJoint

Description

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

Return values

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




LiquidFun