Difference between revisions of "B2.RevoluteJoint:getJointAngle"

From GiderosMobile
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 angle in radians.
 
Returns the current joint angle in radians.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number) = b2.RevoluteJoint:getJointAngle()
 
(number) = b2.RevoluteJoint:getJointAngle()
</source>
+
</syntaxhighlight>
  
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===

Latest revision as of 17:03, 12 July 2023