Hi,
I migrated some code from the FPS demo to our project. However when there is translation being sent to the server, it is choppy in the receiving client. The enemy characters movements are not smooth.
One thing I also noticed was that in the FPS demo the rotation was choppy and not smooth. Shouldn't interpolation smooth out the rotation? I am thinking maybe my problem could be related to the fact that the rotation is choppy.
I am looking at NetworkTransformInterpolation but no luck...thx.
Choppy Rotation in Demo
Rotation choppy
Ok, I got the transform to be smooth but the rotation is still choppy. In the file NetworkTransformInterpolation there is no extrapolation for rotation. It even says so in the code:
So the rotation is choppy. Does anyone have code to make the rotation smooth for extrapolation?
Code: Select all
// No extrapolation for the rotation
transform.rotation = bufferedStates[0].Rotation;
So the rotation is choppy. Does anyone have code to make the rotation smooth for extrapolation?
Who is online
Users browsing this forum: No registered users and 36 guests