public bool Equals(ContactInfo other) { return(data.Equals(other.data) && other.frictionForce == frictionForce && other.normalForce == normalForce && other.velocity == velocity); }