B2.Joint:getBodyB
From GiderosMobile
Available since: Gideros 2011.6
Class: b2.Joint
Description
Returns the second body attached to this joint. <syntaxhighlight lang="lua"> (b2.Body) = b2.Joint:getBodyB() </source>
Return values
Returns (b2.Body) the second body attached to this joint