I have a problem with vehicles;
Vehicle suspensions stutter in mutiplayer on client side.
It looks a bit like stop motion. Note that vehicle is huge, dunno, like 20 meters, if that has anything to do with it. Looks fine on server and in single player mode.
Anyone knows what could it be?
Youâre probably replicating physics and the server is authoritative. Which means the client will always update to the servers corrected position.
Donât replicate the physics attributes, just the overall movement (direction, velocity). Let the client handle all the intricate parts.
How do you replicate just the movement (direction and velocity)? We replicate the whole chaos vehicle.
Yes, I am still hoping that Epic fixes it and creates the Lerp, similar to what they did for the character movement component. Until then, I am revisiting the forums in search of someone who can explain a good workaround. However, if no one is available, I will delve deeper into this issue and share a suitable solution with you all. Unfortunately, I donât have much time at the moment.
Dont know if it will help you I didnt try it yet but Iâve found this
Thank you for your post. Substepping is indeed essential and something you must consider, especially in multiplayer games. However, we are specifically discussing the multiplayer interpolation of vehicles. Thereâs a substantial amount of code required to make the CharacterMovement component multiplayer-ready, ensuring that other characters experience minimal to no lag. Unfortunately, this essential code is currently missing in the ChaosVehicleMovement component, which is what weâve been eagerly anticipating. Of course, you have the option to implement thousands of lines of code yourself, but itâs a challenging task that demands expertise in multiplayer physics interpolation.
In short, weâre waiting for Epic Games to make the ChaosVehicleMovement component multiplayer-ready.
Any news or workaround on the matter ?
From my digging I found this plugin Advanced Vehicle System in Code Plugins - UE Marketplace . I also found the Smooth Sync plugin that could be helpin.
Also I saw a thread mentioning creating non physics vehicle but iâm struggling to find the appriopriate keywords to look more into how to do so.
I also found that youâre not supposed to use PhysX vehicle so really thereâs no option besides doing it yourself right ?
Also did any one found an answer to @mortiantank ? I feel this would be a solution
Disable âReplicate Physics to Autonomous Proxyâ in the vehicleâs class settings.
Using Smooth Sync fixed the issue for me.
Iâm yet to test how it works with networked physics of 5.4
Hi, if you testing ,how work Smooth Sync with UE 5.4?
Did you try?