RYFT
A released first-person speedrunning platformer by Moving Crew at Futuregames.
NetAim · Case study
I extended a two-player Unity course starter so the owning player could see aim feedback immediately and a remote observer could see smoother turns during latency and jitter.
The starter already provided authoritative movement and combat. Owners submitted intent, the server simulated, and clients received replicated state. Turret yaw was applied directly to the display, so the owning client felt delayed aim and remote rotations could arrive in visible jumps.
I added an immediate, visual-only turret override for the owning client. For remote views I compared direct application, frame-rate-independent exponential interpolation, and SmoothDampAngle. The server still determines authoritative aim and firing; the smoothed remote angle does not direct projectiles.
Unity host/client test · Remote display
Architecture sketch
I used a two-instance host/client setup with Unity’s network simulator and compared representative 10-second runs at 100 ms configured delay and 50 ms jitter, with no configured packet loss. I logged absolute frame-to-frame yaw from the remote view. I also compared client-requested and server-observed shot yaw during rapid turns.
SmoothDampAngle at 0.1 seconds gave the smallest observed peak jump, so I chose it for remote presentation. Manual aim trajectories and frame rates varied. This was an engineering comparison, not a controlled latency or performance benchmark. I left the optional turret replication-rate cap off: the profiler evidence did not establish bandwidth savings, and visible aim and shot direction could diverge more during fast turns.
Replay the same recorded mouse trajectory at a fixed render rate, report both smoothness and catch-up delay, and compare packet captures under matched conditions. Those tests would make the responsiveness trade-off easier to quantify.
References
A local turret display no longer waits for a replicated yaw before responding.
Records smoothing and a separately evaluated replication-rate limit.
Records the final course-project configuration.