Difference between revisions of "B2.RevoluteJoint:getMotorTorque"

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 torque given the inverse time step. Unit is N*m. <br />
 
Returns the current motor torque given the inverse time step. Unit is N*m. <br />
Line 8: Line 8:
 
(number) = b2.RevoluteJoint:getMotorTorque(inv_dt)
 
(number) = b2.RevoluteJoint:getMotorTorque(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 torque given the inverse time step. Unit is N*m</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>The current motor torque given the inverse time step. Unit is N*m</translate><br/>

Revision as of 07:28, 24 August 2018

Available since: Gideros 2011.6

Description


Returns the current motor torque given the inverse time step. Unit is N*m.

(number) = b2.RevoluteJoint:getMotorTorque(inv_dt)

Parameters

inv_dt: (number)

Return values

Returns (number) The current motor torque given the inverse time step. Unit is N*m