- Home /
flicker car in multiplayer racing car
hello I'm new in the unity and still learning, I tried a tutorial on racing cars in the unity website, and I try to combine with a unity sample networking, everything went smoothly except for one thing, the other cars seen flick, does anyone know the solution
Thank you "key"
As in, they jump around a lot? This happens because network synchronisation generally happens at a lower rate than the frame rate. You'll need to implement some kind of interpolation or extrapolation arrangement to fix that.
thanks for the answer, i still don have idea how to implement some kind of interpolation or extrapolation arrangement, I've tried to change the value sendrate to 30, but the car was still flick.. :(
Basically, ins$$anonymous$$d of observing transforms or rigidbodies, you observe custom Behaviours, which interpolate towards the target values using Vector3.Lerp and Quaternion.Slerp. Have a look at OnSerializeNetworkView for some tips on how to do that.
i have add networkrigidbody.cs from networking tutorial, i change interpolation and extrapolation, but still flicker.. :(
Answer by unitykey · Nov 14, 2011 at 07:53 AM
thanks for answer.. i still dont undersatnd how to implement some kind of interpolation or extrapolation arrangement?
I've tried to change the value sendrate to 30, but the car was still flick..
Your answer
Follow this Question
Related Questions
Smartfox Multiplayer Update problem 0 Answers
noob not being abel to find helpful tutorials for project 0 Answers
NEED p2 car script 0 Answers
Unity networking tutorial? 6 Answers