0 votes
by
closed
Hi, Edy!
I'm trying to use client side prediction for Edy's Vehicle Physics.

I'm trying to use only rigidbody parameters - pos, vel, angVel and etc. for Reconcile. But it isn't enough, vehicle isn't synced after state reconcile and input rewind. What kind of parameters do I need to respect for accurate Reconcile and Replicate?

Even if I drive vehicle by straight line it slides out to the side after first reconcile.

Any help will be appreciated!
Any way thank you!
closed with the note: I got the answer

1 Answer

0 votes
by
 
Best answer
Vehicles in Edy's Vehicle Physics use Unity's WheelCollider for suspension and contact detection. Unfortunately, there's no way in which we could read or roll-back their internal state. As a result, there will always be discrepancies in the replication even when all the Rigidbody parameters are identical.
by
Thank you very much, Edy!
...