Sometimes, the bear continues right past the cam, and I let out a sigh of relief. But, other times, he continues until his face is on the lens.
Bandit, a black bear, ripped my trail cam into pieces... and the cam kept recording the attack until it was destroyed.
Most times that a bear focuses on a trail cam, s/he investigates or even roughs up a camera but doesn't destroy it. I've had quite a few instances like that. Usually, the cam gets an awesome selfie of the curious bear.
I made a video of a few recent "cam attacks" by bears. The video starts with the least vigorous investigation and rises to the most violent attack of a camera.