Difference between revisions of "B2.RevoluteJoint:getJointAngle"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.RevoluteJoint|b2.RevoluteJoint]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.RevoluteJoint|b2.RevoluteJoint]]<br/>
 +
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
<translate><br />
+
Returns the current joint angle in radians.
Returns the current joint angle in radians.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(number) = b2.RevoluteJoint:getJointAngle()
 
(number) = b2.RevoluteJoint:getJointAngle()
</source>
+
</syntaxhighlight>
 +
 
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
'''<translate>Returns</translate>''' (number) <translate>The current joint angle in radians</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>the current joint angle in radians</translate><br/>
 +
 
 +
{{B2.RevoluteJoint}}

Latest revision as of 17:03, 12 July 2023