Difference between revisions of "B2.RevoluteJoint:getMotorForce"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Returns the current motor force given the inverse time step, usually in N. <br /> | Returns the current motor force given the inverse time step, usually in N. <br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
(number) = b2.RevoluteJoint:getMotorForce(inv_dt) | (number) = b2.RevoluteJoint:getMotorForce(inv_dt) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''inv_dt''': (number) | + | '''inv_dt''': (number) <translate></translate> <br/> |
=== Return values === | === Return values === | ||
− | '''Returns''' (number) The current motor force given the inverse time step, usually in N<br/> | + | '''Returns''' (number) <translate>The current motor force given the inverse time step, usually in N</translate><br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2011.6
Description
Returns the current motor force given the inverse time step, usually in N.
(number) = b2.RevoluteJoint:getMotorForce(inv_dt)
Parameters
inv_dt: (number)
Return values
Returns (number) The current motor force given the inverse time step, usually in N