Difference between revisions of "B2.RevoluteJoint:getMotorForce"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><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 />
Line 8: Line 8:
 
(number) = b2.RevoluteJoint:getMotorForce(inv_dt)
 
(number) = b2.RevoluteJoint:getMotorForce(inv_dt)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''inv_dt''': (number) <translate></translate> <br/>
 
'''inv_dt''': (number) <translate></translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>The current motor force given the inverse time step, usually in N</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The current motor force given the inverse time step, usually in N</translate><br/>

Revision as of 07:28, 24 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