Hi,
Just did a little research and this is how I did Head Bob for my mobile game.
- I created a Blueprint Actor - Class Camera Shake.
1.1) Right click in Content Browser, choose Blueprint Class, And under the search field, look for ‘CameraShake’.
1.2) Name it (I named mine My Camera Shake)
- Open Blueprint and change the following on the options on the right under Details.
- From here Add this in from your movement inputs. (I have right movement removed due to my controls) You may but in a branch to check if character is walking. If you want to have a walking character head bob, make a new camerashake BP and just reduce the numbers until you are happy they move slow enough.
I Hopes this helps someone.
Regards