getReactionForce method

void getReactionForce(
  1. double inv_dt,
  2. 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(_u)
    ..scale(inv_dt)
    ..scale(_impulse);
}