I’m trying to create a camera shake for my first person character, and I wanted to change the frequency of my Yaw oscillation when I sprint. I have booleans being accessed from the player blueprint class that tells me when I’m sprinting and whatnot, but how can I use blueprint to edit the values of my CameraShake?
This is actually much easier to manage with the built-in Camera Shake blueprint. You can read more (and view an example) here.
Effectively, you’ll create a Camera Shake blueprint, modify Oscillation values (for rotation, location, etc), and timing. Then you’ll call Play World Shake, from your player controller, when you want to trigger the shake. If you’d like a ‘little’ shake when you walk vs run, you’d just create another Camera Shake blueprint and call the necessary BP.
Hope that helps!