Difference between revisions of "B2.RevoluteJoint:setMaxMotorTorque"

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 />
+
Sets the maximum motor torque, usually in N-m.
Sets the maximum motor torque, usually in N-m. <br />
+
<syntaxhighlight lang="lua">
<br /></translate>
+
b2.RevoluteJoint:setMaxMotorTorque(torque)
<source lang="lua">
+
</syntaxhighlight>
b2.RevoluteJoint:setMaxMotorTorque(torque)
+
 
</source>
 
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''torque''': (number) <translate>the maximum motor torque, usually in N-m</translate> <br/>
 
'''torque''': (number) <translate>the maximum motor torque, usually in N-m</translate> <br/>
 +
 +
{{B2.RevoluteJoint}}

Latest revision as of 17:23, 12 July 2023