If the client predicts a collision that should result in destruction, is it possible to destroy the entity client side and have that “corroborated” by the server?
Is it different for ghosts that do/do not have GhostOwnerComponents?
If the client predicts a collision that should result in destruction, is it possible to destroy the entity client side and have that “corroborated” by the server?
Is it different for ghosts that do/do not have GhostOwnerComponents?
Predicting Despawn is technically possible but you should never destroy the entity. At best, you can disable the entity or flag it (with some component) that is pending confirmation from the server.
However, because it is a prediction, the server may not acknowledge that the entity should be destroyed. As such, you then need to logic that revert that state back to normal after a while or something similar.