FrictionJoint constructor

FrictionJoint(
  1. FrictionJointDef<Body, Body> def
)

Implementation

FrictionJoint(FrictionJointDef def)
    : _linearImpulse = Vector2.zero(),
      super(def) {
  _maxForce = def.maxForce;
  _maxTorque = def.maxTorque;
}