# Head-Bob Camera Shake Replicates On All PCs

**URL:** <https://forums.unrealengine.com/t/head-bob-camera-shake-replicates-on-all-pcs/2243135>\
**Category:** Multiplayer & Networking\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [December 26, 2024, 5:37am UTC](https://forums.unrealengine.com/t/head-bob-camera-shake-replicates-on-all-pcs/2243135 "2024-12-26T05:37:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JFMMultiMedia11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JFMMultiMedia11](https://forums.unrealengine.com/u/JFMMultiMedia11)\
**Post date:** [December 26, 2024, 5:37am UTC](https://forums.unrealengine.com/t/head-bob-camera-shake-replicates-on-all-pcs/2243135/1 "2024-12-26T05:37:41Z")

</div>

If a client starts sprinting, activating the sprint head bob, the Server will also activate the sprint camera shake. The same thing happens from server to client. Is there something I’m doing wrong?

Here’s my code:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/6/146ac63189c6a17c5e7b2e6bc9bb9936c8957668.jpeg)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/4/6/1463032149443fe0470702e0f0647bf6d73432f4.png)  

Thank You!

---

<div class="post-metadata">

**Author:** ![JFMMultiMedia11](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JFMMultiMedia11](https://forums.unrealengine.com/u/JFMMultiMedia11)\
**Post date:** [December 26, 2024, 6:33am UTC](https://forums.unrealengine.com/t/head-bob-camera-shake-replicates-on-all-pcs/2243135/2 "2024-12-26T06:33:36Z")

</div>

> [@JFMMultiMedia11](#):
>
> If a client starts sprinting, activating the sprint head bob, the Server will also activate the sprint camera shake. The same thing happens from server to client. Is there something I’m doing wrong?

God I’m an idiot! I just needed to put a is locally controlled branch before the tick 😭. It works perfectly now 🙂

---

<div class="post-metadata">

**Author:** ![Rev0verDrive](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/rev0verdrive/32/907214_2.png) [@Rev0verDrive](https://forums.unrealengine.com/u/Rev0verDrive)\
**Post date:** [December 26, 2024, 10:08pm UTC](https://forums.unrealengine.com/t/head-bob-camera-shake-replicates-on-all-pcs/2243135/3 "2024-12-26T22:08:58Z")

</div>

Head bob should be a local only effect. No need to have the server proxy do it. If you’re using CMC it’ll replicate the camera rot/loc via base aim rotation and control rotation.
