Random camera shake pattern using CinemachineImpulseSource and CinemachineImpulseListener

Hi,

I’m trying to implement camera shaking when a pawn hits something while falling.

I’m trying with CinemachineImpulseSource + CinemachineImpulseListener. It’s working but it seems the shake is always the same pattern without any randomization. Here’s my setup:

CinemachineImpulseSource

  • Type: Uniform
  • Shape: Explosion

CinemachineImpulseListener

  • ReactionSettings.SecondaryNoise: None, 6D Shake or 6D Wobble

To have some randomization, I can use impulse type “Legacy” and check the “randomize” checkbox. This seems to be the best option right now but since it’s “Legacy”, seems like there should be an up to date version on how to have this result.

What’s the best way to accomplish this?