Hey there, having trawled over some answers to this (I think most of them was pre cinemachine impulse being introduced) I was wondering if you could share the recommended way to implement a first person head bob, which I can scale in frequency and amplitude depending on player velocity? I’ve seen answers relating to configuring perlin noise profile, is this still the recommended way? If so are there any example profiles? If not, is it cinameachine impulse?
Many Thanks
You could do both depending on what exactly you are trying to achieve.
If, for example, you’d like a head bob to happen at every step, then impulse is probably better. You’d generate an impulse at every step.
If, for example, you’d like a head bob depending on the player velocity, then noise is probably better. You’d increase the noise’s amplitude and frequency gains as the velocity increases.
We don’t have built-in head bob noise profile. We have a couple of handheld noises and 6D (affecting directions and rotations) noises.
I think for you the noise version is a better fit, because you mention player velocity.
To create a very simple head bob noise, add a Basic Multi Channel Perlin to Noise on your vcam. Then click on the gear icon next to Noise Profile. Create a new noise profile, save it. Then open the noise profile, and open the Position Y tab. Click on the + sign and set frequency and amplitude to 1.

If you’d like a non-random wave, then click on the check box.

Observe this noise on your camera. Then fine-tune it to your needs
You can modify the noise at runtime (while the game is running) to see the effect right away.
4 Likes
Absolutely perfect, cheers!
1 Like