Difference between revisions of "B2.Joint:getReactionForce"
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="...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) (number) | + | (number), (number) = b2.Joint:getReactionForce(inv_dt) |
</source> | </source> | ||
− | '''inv_dt | + | '''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 10: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