Game Development Community

How to get a client sim ID from the server sim ID

by Sylvain Boivin · in Torque Game Engine · 02/16/2005 (6:26 pm) · 1 replies

The problem goes as follow : We are doing a ray cast from the client side to get the ID of a SimObject. We use a serverCommand to execute code form the server side. The problem is that we receive the client ID.

The question is : What can we do to get the server ID from the client sim ID?

Is there a function to get the server ID from the client ID.

#1
02/19/2005 (4:31 pm)
Yes. See the RTSKit for a lot of examples of this.