# Headbob while running

**URL:** <https://forums.unrealengine.com/t/headbob-while-running/322001>\
**Category:** Cinematics & Media\
**Tags:** shake, unreal-engine, question\
**Created:** [June 16, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/headbob-while-running/322001 "2015-06-16T13:41:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CroMonster\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CroMonster\_1](https://forums.unrealengine.com/u/CroMonster_1)\
**Post date:** [June 16, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/headbob-while-running/322001/1 "2015-06-16T13:41:20Z")

</div>

So, I have made the camera shake while walking, but how do I make the head bob while running?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_46624b4f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_46624b4f](https://forums.unrealengine.com/u/anonymous_user_46624b4f)\
**Post date:** [June 16, 2015, 3:10pm UTC](https://forums.unrealengine.com/t/headbob-while-running/322001/2 "2015-06-16T15:10:17Z")

</div>

Hello CroMonster,

All you have to do is check if the character is moving, and play the camera shake if it is, by simply just using a branch node and a boolean that changes upon input. I don’t have access to the engine right now, but later on I can give you a little more in-depth answer if need be.

Good Luck!

---

<div class="post-metadata">

**Author:** ![CroMonster\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CroMonster\_1](https://forums.unrealengine.com/u/CroMonster_1)\
**Post date:** [June 16, 2015, 5:44pm UTC](https://forums.unrealengine.com/t/headbob-while-running/322001/3 "2015-06-16T17:44:32Z")

</div>

Hello, I have managed to do the headbob. Thank you!

---

<div class="post-metadata">

**Author:** ![TRESOP2003](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TRESOP2003](https://forums.unrealengine.com/u/TRESOP2003)\
**Post date:** [August 30, 2022, 9:13am UTC](https://forums.unrealengine.com/t/headbob-while-running/322001/4 "2022-08-30T09:13:01Z")

</div>

Hey could you post the node setup or help me out with it? I’ve been having trouble with this for a few days now and still cannot find anything online.
