Hey guys,
im a beginner in Unity and i need some help.
I created a game with the Standard Assets Car Controller and PUN. Everything’s working fine, but the cars are lagging or jittering, something like that.
I already read some threads about this, but they couldn’t fix my problem.
Does anyone knows a solution?
And do you need some code or something of my project to analyze that?
This interpolation and extrapolation thing was one aspect i’ve read about in previous threads, but I still don’t understand how it’s working. Does the interpolation shift the time back in rendering to avoid dropped packets?
And I only found texts that explained the working of interpolation and extrapolation, but not, how I activate, create, whatever it. Or am I to dumb for this?
PUN has a sample in a folder named “DemoSynchronization”. It’s not for cars but you should get the idea and be able to apply this for cars.
Also, take a look at this tutorial, which focuses entirely on using PUN for a racing game:
The videos might give you some insight. The package itself is a cooperation with an external developer, which is the reason why it’s not entirely free.