# Camera shake - speed scaling

**URL:** <https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231>\
**Category:** Cinematics & Media\
**Tags:** falling, shake, unreal-engine, speed, question\
**Created:** [May 2, 2016, 7:10pm UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231 "2016-05-02T19:10:35Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TornadoStorm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TornadoStorm](https://forums.unrealengine.com/u/TornadoStorm)\
**Post date:** [May 2, 2016, 7:10pm UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231/1 "2016-05-02T19:10:35Z")

</div>

Hello,

I’m trying to get the player to have its camera shake with a shaking magnitude proportional of that to speed. This would be a neat effect when falling :3  
How can I go about this? I am sure this would require me to have the camera shake magnitude being continuously updated. Would this be performance intensive in terms of framerate? Do I need to have some kind of camera shake class set up?

Thanks in advance

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4030fea0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4030fea0](https://forums.unrealengine.com/u/anonymous_user_4030fea0)\
**Post date:** [May 3, 2016, 11:22am UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231/2 "2016-05-03T11:22:06Z")

</div>

Alan Noon covers off Camera Shake fairly well. [Watch this video from 37.53](https://youtu.be/Oh7pDL8RFaI?t=2273).

---

<div class="post-metadata">

**Author:** ![TornadoStorm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TornadoStorm](https://forums.unrealengine.com/u/TornadoStorm)\
**Post date:** [May 3, 2016, 3:15pm UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231/3 "2016-05-03T15:15:05Z")

</div>

Nice! Thanks!  
However, I am unable to figiure out how to dynamically set the camera shake’s amplitude to the player’s speed. How can I do this?

---

<div class="post-metadata">

**Author:** ![TornadoStorm](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TornadoStorm](https://forums.unrealengine.com/u/TornadoStorm)\
**Post date:** [May 3, 2016, 3:30pm UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231/4 "2016-05-03T15:30:11Z")

</div>

Nevermind, I have found a solution. Rather than using the ‘Play World Camera Shake’ function, I had used ‘Client Play Camera Shake’ (Requires you to untick the ‘Context Sensitive’ checkbox when adding a new blueprint function). It comes with a scale node so I can set it whenever I want. Thanks for the help though!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_458d2912](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_458d2912](https://forums.unrealengine.com/u/anonymous_user_458d2912)\
**Post date:** [March 27, 2019, 2:57am UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231/5 "2019-03-27T02:57:07Z")

</div>

Thanks @TomadoStorm, this is really helpful as I tried a couple of hours to locate this function lol.

---

<div class="post-metadata">

**Author:** ![laggyluk](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Post date:** [December 15, 2024, 1:16pm UTC](https://forums.unrealengine.com/t/camera-shake-speed-scaling/356231/6 "2024-12-15T13:16:10Z")

</div>

in case somebody wonders how to do that with new camera shake methods not returning a pointer to the shake, thus not being able to modify the scale:

I’ve found that creating a ‘copy’ of one of existing USimpleCameraShakePattern descendant oscilators gives access to UpdateOscillators method where you can do your thing. Why copy and not descendant class? cause of private members.
