Game Development Community

getting opponent's camera

by Matthew Franklin · in Torque Game Engine · 09/08/2002 (10:43 pm) · 1 replies

I want to get an opponent's camera transform when he joins the game.

So far, I've tried using the script to pass in a clientId, and then looking up that object using resolveGhost. That gives me a GameConnection object that doesn't have a control object, so I can't get the camera transform.

I get the feeling I'm using exactly the wrong methods to go about this. :) Anyone know how to do this?

#1
09/08/2002 (11:45 pm)
Oops, nevermind the details of my first post, I wasn't paying attention to what I was doing. :P I actually have the client's camera, and am displaying it in a portion of the other player's display in a gui control. But it's crashing the client! Strange.

Anyway, sounds like something I have to take through the debugger on my own. Move along, nothing to see here....