I found a solution to this one. It was pretty easy. I simply did the following:
- Add a Cinemachine Collision Impulse Source script to my Player.
- Use 6D Shake for the Raw Signal.
- Fiddled around with Amplitude Gain and Frequency Gain.
- Under Trigger Object Filter -> Layer Mask and checked all the Layers I want to trigger the camera shake.
- Add a Cinemachine Impulse Listener to my State Driven Camera.
- Checked 2D Distance.