Game Development Community

client and server pointers

by Ian Omroth Hardingham · in Torque Game Engine · 05/13/2002 (3:36 am) · 1 replies

Hmm.

On the server:
new SimSet (Moo) {};

commandToClient( %client, 'foo' , Moo );

On the client:

function ClientCommandFoo( %looloo )
{
    %looloo.delete();
}

So... does this delete Moo on the server? When objects are sent down the connection are they just pointers to objects on the server or are they actual objects?

Thanks.
Ian

#1
05/13/2002 (9:03 am)
And, most importantly, what kind of performance hit am I going to get if the client needs to get SimSet data from the server?

I mean, if a client is calling functions on a pointer to an object on the server.

Thanks.