Mission Area on client
by Daniel Neilsen · in Torque Game Engine · 06/15/2002 (12:20 am) · 2 replies
The following code dosnt seem to work client side.
Does anyone have any idea as to replacement code to allow the client to determine missArea ??
Thanks guys
Does anyone have any idea as to replacement code to allow the client to determine missArea ??
GameConnection* conn = GameConnection::getServerConnection();
MatrixF cam;
Point3F camPos;
conn->getControlCameraTransform(0,&cam);
cam.getColumn(3, &camPos);
MissionArea *missArea = dynamic_cast<MissionArea*>(Sim::findObject("MissionArea"));Thanks guys
About the author
Torque 3D Owner Robert Blanchet Jr.