# VehicleMovementComponent doesn't replicate

**URL:** <https://forums.unrealengine.com/t/vehiclemovementcomponent-doesnt-replicate/2222305>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [December 15, 2024, 10:03am UTC](https://forums.unrealengine.com/t/vehiclemovementcomponent-doesnt-replicate/2222305 "2024-12-15T10:03:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JuanPabloHdz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JuanPabloHdz](https://forums.unrealengine.com/u/JuanPabloHdz)\
**Post date:** [December 15, 2024, 10:03am UTC](https://forums.unrealengine.com/t/vehiclemovementcomponent-doesnt-replicate/2222305/1 "2024-12-15T10:03:04Z")

</div>

Hey everyone, I’m trying to do an online multiplayer race game. I’m using Unreal’s Vehicle template with the sport car and C++.

When I have the listen server and the client I noticed that the client jitters and lags.

So I decided to add the next bits to the KartPawn.cpp to make it work, but eventhough with these changes now it doesn’t move at all. Has anyone had any experience similar with the template?

Thanks!

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/7/c/e7c76aa17c335376444286a3305e445fab334594.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/b/c/dbc17fabb360417679479f514750451e977dcb90.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/f/15fbb6f6341a448561a34e8d81c2df9a983d7624.png)

---

<div class="post-metadata">

**Author:** ![JuanPabloHdz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JuanPabloHdz](https://forums.unrealengine.com/u/JuanPabloHdz)\
**Post date:** [December 17, 2024, 2:10pm UTC](https://forums.unrealengine.com/t/vehiclemovementcomponent-doesnt-replicate/2222305/2 "2024-12-17T14:10:53Z")

</div>

For anyone having the problem, go and get SmoothSync! That was the only thing that fixed it.

---

<div class="post-metadata">

**Author:** ![system](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/3/713c9d3f58553f0de89543d76a8a3a2779dc9fa4.png) [@system](https://forums.unrealengine.com/u/system)\
**Post date:** [January 16, 2025, 2:11pm UTC](https://forums.unrealengine.com/t/vehiclemovementcomponent-doesnt-replicate/2222305/3 "2025-01-16T14:11:30Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
