The answer depends on how serious the consequence is in such cases. If the consequence is minor then forgiveness may not be necessary. In contrast, suppose someone is texting on their mobile phone while driving the car. The person hits your car and injures your leg. The person did not intend to hurt you, but the consequences of such inattentive behavior could, and in this case did, lead to injury. In other words, the one who hurt you did wrong because of an omission of attentive driving. In such a case, yes, you can forgive if you so choose.