Problem with Chaos vehicle

I’ve been having issues with the chaos vehicles where the movement is extremely clicky and jittery, I don’t have any solution for this problem.

I am possessing the driver seat and sending input to the tank via bpi which I think is the problem but I’m not sure yet.

a video of Client 1 and client 2 below.

Hi There,

So this can happen especially on network since Chaos Vehicle is a physics motion simulation and you are sending the inputs through a BPI which If you’re applying throttle locally and also on server, you’ll get constant corrections. This would be much delayed more jittery (rubberbanding) more in an online version.

What you need to do is call RPC (Remote Procedure Call) from your vehicle to Server and server handles the movement. So there is no correction between local and server.

Client ->Input(RPC)-> Force/ Throttle/Turn (Server) → SimulatePhsyics (Server) → ReplicatedTransformVehicle(AllClients)

Basically SendInputs(Local)->Server , DoPhysicsSimulation(Server)

If this doesn’t solve we can look into how inputs are handled for turret, in terms of animation, mesh driven motion etc, some setups can cause this if there is a problem with tick order and motion handling.

1 Like

Hi, I cant have client to server RPCs on the tank pawn since the tank pawn is never actually owned or possessed by anyone (Because it is a shared pawn with no real owner) so I’ve just been using server RPCs before calling the bpi event, is that a problem and should be changed?

So if you are using server RPC and calling BPI then it should be fine, Its correct.

You can try increasing network update rate and be sure that the simulation is on server side (nothing interfering)

Have you tried this in not client but listen server? is it still the same?

If on listen server not a problem maybe there is something wrong with animation / input transform setup?