Set Camera Shake Variables at Runtime? UE5

Hi folks, I am trying to set some camera shake variables during gameplay,
so for example, depending how much damage a player receives on a hit, i might set the intensity of a camera shake to increase,

i am thinking that a blueprint interface could set this? maybe there’s a better way? i am getting an error when trying to set a camera shake variable on a BPI event, well maybe this isn’t the way to do what i’m trying to do, any tips would be most welcome!

You need to put a camera component as “target” input of the set node…

you can give your Function a Camera Component as Parameter und call the sets from this.

1 Like

Hm, so I tried to add my camera component reference,
but it’s seemingly looking for something else,
“perlin noise shake (etc)” reference…
I’m a bit confused… thanks for any tips

Hi, Have you ever found a solution for this?

Yeah, what is that blue set node you’re using anyway? I habe zero nodes available to me that have anything to do with canera shake except the one that plays it.

For future peeps:
image



image



https://www.unrealengine.com/marketplace/en-US/product/ryan-s-helpful-helpers

Unfortunately, for some reason though, you can’t promote the Perlin Noise object to a variable.