Joint:getReactionForce

Joint:getReactionForce

Returns the reaction force in newtons on the second body

Function

Available since LÖVE 0.8.0
This variant is not supported in earlier versions.

Synopsis

x, y = Joint:getReactionForce( invdt )

Arguments

number x
How long the force applies. Usually the inverse time step or 1/dt.

Returns

number x
The x-component of the force.
number y
The y-component of the force.

Function

Removed in LÖVE 0.8.0
This variant is not supported in that and later versions.

Synopsis

x, y = Joint:getReactionForce( )

Arguments

None.

Returns

number x
The x-component of the force.
number y
The y-component of the force.

See Also


doc_love
2017-03-21 15:45:02
Comments
Leave a Comment

Please login to continue.