Difference between revisions of "B2.RevoluteJoint:setMaxMotorTorque"
From GiderosMobile
| 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, usually in N-m. <br /> | Sets the maximum motor torque, usually in N-m. <br /> | ||
| − | <br /> | + | <br /></translate> | 
| <source lang="lua"> | <source lang="lua"> | ||
|   b2.RevoluteJoint:setMaxMotorTorque(torque) |   b2.RevoluteJoint:setMaxMotorTorque(torque) | ||
| </source> | </source> | ||
| === Parameters === | === Parameters === | ||
| − | '''torque''': (number) the maximum motor torque, usually in N-m <br/> | + | '''torque''': (number) <translate>the maximum motor torque, usually in N-m</translate> <br/> | 
Revision as of 13:38, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the maximum motor torque, usually in N-m. 
 b2.RevoluteJoint:setMaxMotorTorque(torque)
Parameters
torque: (number) the maximum motor torque, usually in N-m 
