How to interact with a police officer(s)

What we are encountering these days is the result of a public that relates cops to racism. If a cop stops them its because their black or asian or gay. The conversation usually starts with a hostile attitude. I have been stopped at least as much as most here. At least in my younger years. BUT my dad was a cop, so i have always treated them with respect. At night I roll the window down turn my dome light on and place my hands at the top of the wheel. I listen and comply. Therefore i have never been tased or thrown to the ground or handcuffed! Its simple you get what you give.