B2.Joint:getReactionForce: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the reaction force on bodyB at the joint anchor in Newtons.<br /> <br /> <source lang="..."
 
No edit summary
Line 6: Line 6:
<br />
<br />
<source lang="lua">
<source lang="lua">
(number) (number), = b2.Joint:getReactionForce(inv_dt,)
(number), (number) = b2.Joint:getReactionForce(inv_dt)
</source>
</source>
'''inv_dt:''' (number)  ''''''<br/>
'''inv_dt''': (number)  ''''''<br/>
'''Returns''' (number) x component of the reaction force on bodyB at the joint anchor in Newtons<br/>
'''Returns''' (number) x component of the reaction force on bodyB at the joint anchor in Newtons<br/>
'''Returns''' (number) y component of the reaction force on bodyB at the joint anchor in Newtons<br/>
'''Returns''' (number) y component of the reaction force on bodyB at the joint anchor in Newtons<br/>

Revision as of 09:20, 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)

'inv_dt: (number) '
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