Difference between revisions of "B2.RevoluteJoint:setMaxMotorTorque"

From GiderosMobile
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 />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
b2.RevoluteJoint:setMaxMotorTorque(torque)
+
b2.RevoluteJoint:setMaxMotorTorque(torque)
 
</source>
 
</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}}

Revision as of 13:09, 18 February 2020