object:getReactionForce()

Type Function
Object Joint
Library physics.*
Return value Numbers
Revision Current Public Release (2017.3135)
Keywords joint, getReactionForce
See also Physics Joints (guide)

Overview

This function returns the reaction force in Newtons at the joint anchor in the second body.

Syntax

joint:getReactionForce()

Example

local reactionForceX, reactionForceY = myJoint:getReactionForce()