Well, thx, but the first suggestion kinda defeats the purpose of modularity, and the second one won't work, as the compiler complains that "'pan' is not a member of VECTOR". I've tried using void*, but again, "'x' is not a member of VOID.

But I think I have a solution. I suppose I could create a dummy entity, and have that be ent1, and have the camera match it's coordinates/angles.


Thanks for the replies!

EDIT: Success! Well, mostly. It turns in accordance to the position of the test entity, but I can't make it face the test entity exactly. I've tried multiplying the atan()s by different values, and adding angles to them as well, but nothing's working. I guess my estimates were waaaaay off. frown

Last edited by MrCode; 07/16/08 00:47.

Code:
void main()
{
    cout << "I am MrCode,";
    cout << "hear me roar!";
    system("PAUSE");
}