FrictionJoint constructor

FrictionJoint(IWorldPool argWorldPool, FrictionJointDef def)

Implementation

FrictionJoint(IWorldPool argWorldPool, FrictionJointDef def)
    : _localAnchorA = new Vector2.copy(def.localAnchorA),
      _localAnchorB = new Vector2.copy(def.localAnchorB),
      _linearImpulse = new Vector2.zero(),
      super(argWorldPool, def) {
  _maxForce = def.maxForce;
  _maxTorque = def.maxTorque;
}