B2.Joint:getReactionForce: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
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 reaction force on bodyB at the joint anchor in Newtons.<br />
Returns the reaction force on bodyB at the joint anchor in Newtons.<br />
Line 8: Line 8:
(number), (number) = b2.Joint:getReactionForce(inv_dt)
(number), (number) = b2.Joint:getReactionForce(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>x component of the reaction force on bodyB at the joint anchor in Newtons</translate><br/>
'''<translate>Returns</translate>''' (number) <translate>x component of the reaction force on bodyB at the joint anchor in Newtons</translate><br/>
'''Returns''' (number) <translate>y component of the reaction force on bodyB at the joint anchor in Newtons</translate><br/>
'''<translate>Returns</translate>''' (number) <translate>y component of the reaction force on bodyB at the joint anchor in Newtons</translate><br/>

Revision as of 06:28, 24 August 2018

Available since: Gideros 2011.6

Description


Returns the reaction force on bodyB at the joint anchor in Newtons.

(number), (number) = b2.Joint:getReactionForce(inv_dt)

Parameters

inv_dt: (number)

Return values

Returns (number) x component of the reaction force on bodyB at the joint anchor in Newtons
Returns (number) y component of the reaction force on bodyB at the joint anchor in Newtons