redhat-gamedev / srt-godot-client

Space Rings Thing Game Client (for Red Hat Gaming)
Apache License 2.0
7 stars 5 forks source link

snapshot interpolation: missiles get re-created due to late-dated updates #75

Closed thoraxe closed 1 year ago

thoraxe commented 1 year ago

When we receive an update for an object we don't know about, we create it. This handles the case where we may have joined the session while other objects are already in-flight.

Now with the snapshot interpolation, there are issues where a missile destroy message is processed, but a buffered update message for the missile is processed after. This results in the just-destroyed missile being re-created.

Proposed fix:

thoraxe commented 1 year ago

fixed by #78