Hey dear constructers!,
i'm working on an topdown tank shooter/mining game.
now, when a player dies, i want to just have the tank stopped, create a crater and wreck, and display a respawn button which, once clicked starts the respawn countdown. after the countdown reaches zero the player is respawned at his base.
when i have no timer it all goes fine, BUT!, it seems that the player isn't actually destroyed but just moved across the map (which results in him being stuck if there's a mountain on the way) except from that all is fine. the player and all of its parts are destroyed instantly on server an clients the crater and wrecks are built instantly as well.
as soon as i have the respawn button in it (or a wait x seconds action), the player doesnt disappear instantly. merely it's car behaviour, rolls him out of the crater and is still steerable. it then takes about 1.5 seconds for the servers destroy signal to take action. after that the respawn button appears, the player disappears and spawning works fine. the wreck though is built just at the time the player respawns and not the moment he dies or the moment his visuals disappear.
oh yeah, on the server everythings fine! this just happens on the client!
does anyone know about such issues? are objects somehow kept alive for a short time to save the engine from unnecessary destroy/spawn actions?
what can be done about it?
for the moment i don't have a simple capx to post, but i no one has a fast idea on what might be going on i might be forced to replicate it, or at least cut some screenshots of the actions together.
thank you all for taking the time,