B2.PrismaticJoint:getJointTranslation: Difference between revisions

From GiderosMobile
No edit summary
m Text replacement - "</source" to "</syntaxhighlight"
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
Returns the current joint translation, usually in meters.
Returns the current joint translation, usually in meters.
<source lang="lua">
<syntaxhighlight lang="lua">
(number) = b2.PrismaticJoint:getJointTranslation()
(number) = b2.PrismaticJoint:getJointTranslation()
</source>
</syntaxhighlight>


=== <translate>Return values</translate> ===
=== <translate>Return values</translate> ===

Latest revision as of 16:22, 12 July 2023