Requires Unity 2017.4.1 or higher.
This asset helps to synchronize movement through the network. It's creating accurate keyframed motion by pushing new positions into a buffer and interpolating through them. It focuses on minimizing latency and resisting lag spikes by using extrapolation.
Documentation Link, Forum Link.此资产有助于通过网络同步移动。它通过将新的位置推到缓冲器中并通过它们插值来创建精确的键控框架运动。它着重于使用外推最小化延迟和抗滞后尖峰。
Key features:
- Contains examples for Photon PUN, PUN 2, UNet HLAPI and WebSockets (with a sample networking built on websocket-sharp to help you get started).
- Works with any networking as long as you can write code.
- It's very accurate and fast. Many other tools struggle to represent movement accurately or add too much latency.
- Made with flexible send rate in mind. Allows to send nothing while object is idle to fit within tight network limitations.
- Great for syncing physics, character controllers, vehicles - everything what moves. Works for both predictable and unpredictable movement.
- Able to fully compensate latency for racing games. You can sync velocity and acceleration to improve prediction results.
- Automatically switches between interpolation and extrapolation to resist bad network conditions.
- It's flexible. Easy to implement exactly what you're looking for.
- No garbage allocation.
- Supports 3D and 2D. Examples provided for both cases.
- Full source code. Well-commented and easy to understand.