getReactionForce method

void getReactionForce (double inv_dt, Vector2 argOut)
override

get the reaction force on body2 at the joint anchor in Newtons.

@param inv_dt @return

Implementation

void getReactionForce(double inv_dt, Vector2 argOut) {
  argOut
    ..setFrom(_linearImpulse)
    ..scale(inv_dt);
}