lightyear icon indicating copy to clipboard operation
lightyear copied to clipboard

Interpolation looks very choppy on high tick rates

Open Serverator opened this issue 8 months ago • 1 comments

Problem

If you set the tick rate above 60Hz, interpolated entities using the default linear interpolation will start to look very laggy, teleporting and freezing in place.

How to reproduce

In the client_replication example set server_tick_interval to 0 in the SharedConfig and run the example. Cursor will look choppy to another player.

Showcase

https://github.com/cBournhonesque/lightyear/assets/5243255/22b6744b-5389-425c-98ea-d52763f44b44

Workaround

Lowering the tick rate to around 20Hz or below fixes it.

Serverator avatar May 30 '24 10:05 Serverator