Culture June 3, 2020

Darius McCrary recalls his 'traumatizing' encounter with police that led to the 'Good Cop, Bad Cop' episode of 'Family Matters'

WATCH: Classic TV moms and dads from 'Fresh Prince,' 'Family Matters' and more

"Family Matters" star Darius McCrary is opening up about the series' 1994 "Good Cop, Bad Cop" episode, inspired by his real-life encounter with police officers who racially profiled him.

MORE: John Boyega gives an emotional speech during a Black Lives Matter protest in London

"They say that art imitates life, but life imitates art," McCrary tells ABC Audio. "I was profiled ... because I was driving a nice vehicle and they claimed my vehicle was dirty ... they said that people who usually own these types of vehicles, they usually keep their cars clean."

After showing his registration, McCrary says he told officers that his car was also "completely paid for."

Robin L Marshall/Getty Images, FILE
Darius McCrary attends "Rockin With The Stars" - Laugh! Clap! Dance! event, Aug. 6, 2019, in Studio City, California.

"'I own this vehicle,'" he recalls telling police. "'And when you work as hard as I work, you really don't have time to think about whether your vehicle is clean or not.''"

MORE: Big Sean speaks out on his experience as a black man in America: 'I don't feel equal and I don't feel free'

McCrary says he was "lucky" that the confrontation didn't escalate, adding it was a "traumatizing" experience, "especially when you've done nothing wrong."

After his ordeal, McCrary says he told the show's producers, who were completely disgusted.

"They were appalled to the point where it could have really gotten ugly with the LAPD and ABC and the whole nine," he reveals. "Because I had already been involved in the community ... and trying to work with the sheriffs to improve relationships with law enforcement and the community."

MORE: John Legend, Lizzo and more sign open letter to decrease police spending

McCrary says producers instead decided "to utilize the platform to tell [his] story," even though certain TV stations were against it.

Walt Disney Television via Getty Images, FILE
The cast of "Family Matters" pose for a portrait.

"I found out later that in certain markets the episode wasn't aired," he says, noting that those cities opted to only show clips instead.

Looking back, McCrary says he's thankful to producers for taking his "experience and putting it into an episode that still rings true."

MORE: Free 'Just Mercy' rentals offered this June to encourage 'systemic racism' education

"I think that's part of the reason why "Family Matters" was such a successful show ... we were able to tackle those types of issues."