Game Development Community

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 ??

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

#1
06/15/2002 (4:36 pm)
Refere to the Mission Area Bounds Resource. I got the resource fixed to work dedicated. The Updated code in the Resource reflects the changes.
#2
06/15/2002 (6:21 pm)
Bump for Wizard :)