B2.WheelJoint:setMaxMotorTorque: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
<br /> | <translate><br /> | ||
Sets the maximum motor torque in N*m. <br /> | Sets the maximum motor torque in N*m. <br /> | ||
<br /> | <br /></translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.WheelJoint:setMaxMotorTorque(torque) | b2.WheelJoint:setMaxMotorTorque(torque) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
'''torque''': (number) the maximum motor torque in N-m <br/> | '''torque''': (number) <translate>the maximum motor torque in N-m</translate> <br/> | ||
Revision as of 12:33, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the maximum motor torque in N*m.
b2.WheelJoint:setMaxMotorTorque(torque)
Parameters
torque: (number) the maximum motor torque in N-m