I'm working on a prototype MOBA with gameplay inspired by Brawl Stars.
I want the game to be fully interpolated from the server, including the player itself (thus the player have input latency equal to 1 RTT).
I'm just starting up with lightyear "simple_box" example, which I got working, but now I am trying to remove the prediction on the player, and I can't get it working.
I modified the player entity on the server to include :
Replicate::to_clients(NetworkTarget::All),
PredictionTarget::to_clients(NetworkTarget::None),
InterpolationTarget::to_clients(NetworkTarget::All),
From my server I can see the confirmed player. From the client I can also see the confirmed player, but there is no interpolated player.
What did I miss ? I can give more info as needed but I don't really know what to show. Thanks