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


Other Languages

Personal tools