Difference between revisions of "B2.RevoluteJoint:getJointAngle"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(2 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
'''<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