Difference between revisions of "B2.RevoluteJoint:getMotorForce"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the current motor force given the inverse time step, usually in N. <br /> <br /> <sourc...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
(number), = b2.RevoluteJoint:getMotorForce(inv_dt,)
+
(number) = b2.RevoluteJoint:getMotorForce(inv_dt)
 
</source>
 
</source>
'''inv_dt:''' (number)  ''''''<br/>
+
'''inv_dt''': (number)  ''''''<br/>
 
'''Returns''' (number) The current motor force given the inverse time step, usually in N<br/>
 
'''Returns''' (number) The current motor force given the inverse time step, usually in N<br/>

Revision as of 10:21, 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)

'inv_dt: (number) '
Returns (number) The current motor force given the inverse time step, usually in N