Deleting of a ghost object II
by Gunter · in Torque Game Engine · 06/20/2008 (8:46 am) · 0 replies
Hi,
I have to delete a ghost object. Later on I want to have a fresh copy from the server again but without a disconnect. I tried to delete it manually on the client but it doesn't recieve it again. I checked in ghost connection what happens exactly but until now I couldn' figure out what to do.
This happens on disconnect :
con->mLocalGhosts[i]->onGhostRemove();
delete con->mLocalGhosts[i];
con->mLocalGhosts[i] = NULL;
Is it possibile at all ? Thanks in advance.
I have to delete a ghost object. Later on I want to have a fresh copy from the server again but without a disconnect. I tried to delete it manually on the client but it doesn't recieve it again. I checked in ghost connection what happens exactly but until now I couldn' figure out what to do.
This happens on disconnect :
con->mLocalGhosts[i]->onGhostRemove();
delete con->mLocalGhosts[i];
con->mLocalGhosts[i] = NULL;
Is it possibile at all ? Thanks in advance.