getReactionForce method

void getReactionForce(
  1. double inv_dt,
  2. Vector2 out
)
override

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

@param inv_dt @return

Implementation

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