You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feel free to close this issue as not planned.
If you run forest brawl with 150 ms delay (sudo tc qdisc add dev lo root netem delay 150ms), and have a client bomb a client (any player but the host), there is a noticeable delay before the pushback happens. 150 ms probably. So the bomb explodes, the VFX and SFX play out, but nothing happens to the player locally until 150 ms pass.
The lack of this feature (or is it a bug?) prevents netfox from being used for smooth melee combat.
For example, how can one implement a shove/push mechanic?
If I remove the checks which check for authority, so the client sets that body's position, and for server to later override, it overshoots then is corrected, which looks worse than the push delay of 150ms.
I don't know how one would solve this, but the only suggestion I can think of is have a local push force which is exclusively for local prediction, and this local push force is always 1/3rd of the actual force. With this, there will be instant push feedback once you hit a player with a bomb, and the server correction should lead to no artifacts.
The above works perfectly for the hit player, instead of everyone. In other words, the explosion push force has no delay for the player who was hit by it, but the delay persists for the player who threw the bomb. Even if I remove the authority check entirely.
The text was updated successfully, but these errors were encountered:
Feel free to close this issue as not planned.
If you run forest brawl with 150 ms delay (
sudo tc qdisc add dev lo root netem delay 150ms
), and have a client bomb a client (any player but the host), there is a noticeable delay before the pushback happens. 150 ms probably. So the bomb explodes, the VFX and SFX play out, but nothing happens to the player locally until 150 ms pass.The lack of this feature (or is it a bug?) prevents netfox from being used for smooth melee combat.
For example, how can one implement a shove/push mechanic?
If I remove the checks which check for authority, so the client sets that body's position, and for server to later override, it overshoots then is corrected, which looks worse than the push delay of 150ms.
I don't know how one would solve this, but the only suggestion I can think of is have a local push force which is exclusively for local prediction, and this local push force is always 1/3rd of the actual force. With this, there will be instant push feedback once you hit a player with a bomb, and the server correction should lead to no artifacts.
The above works perfectly for the hit player, instead of everyone. In other words, the explosion push force has no delay for the player who was hit by it, but the delay persists for the player who threw the bomb. Even if I remove the authority check entirely.
The text was updated successfully, but these errors were encountered: