B2.PrismaticJoint:getJointTranslation

From GiderosMobile
Revision as of 17:54, 12 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


Available since: Gideros 2011.6
Class: b2.PrismaticJoint

Description

Returns the current joint translation, usually in meters. <syntaxhighlight lang="lua"> (number) = b2.PrismaticJoint:getJointTranslation() </source>

Return values

Returns (number) the current joint translation, usually in meters




LiquidFun