B2.Joint:getReactionForce: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<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 />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
(number), (number) = b2.Joint:getReactionForce(inv_dt)
(number), (number) = b2.Joint:getReactionForce(inv_dt)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''inv_dt''': (number) <br/>
'''inv_dt''': (number) <translate></translate> <br/>
=== Return values ===
=== Return values ===
'''Returns''' (number) x component of the reaction force on bodyB at the joint anchor in Newtons<br/>
'''Returns''' (number) <translate>x component of the reaction force on bodyB at the joint anchor in Newtons</translate><br/>
'''Returns''' (number) y component of the reaction force on bodyB at the joint anchor in Newtons<br/>
'''Returns''' (number) <translate>y component of the reaction force on bodyB at the joint anchor in Newtons</translate><br/>

Revision as of 12:33, 23 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