Getting hit/tapped by a car is un avoidable if you ride in traffic, someday and someway it's going to happen, it's a matter of being mentally prepared for it. After being hit by at least 10 cars in my years on my various bikes, some lost to cars, I do as mentioned before I look for reasons I may have been hit and do what I can to avoid that condition that favored me getting tagged by the car.
My wife and daughter get tired of me bringing up and pointing out situations where getting hit by a car was a high probabilty in a given situation. So far my daughter has avoided a couple close calls from my advice and for me that makes my experience of getting hit worth all the pain and headache.
It's all about how you prepare for it mentally...