Game Development Community

Scratching my head

by Rigo Cisneros · in Torque Game Engine · 03/02/2007 (1:25 pm) · 0 replies

Yo,

I am trying to find where in the code the player gets hidden from the current camera view (or viewport)

I know when you toggle into flymode, etc.. the player is shown again..

The reason I am asking is because I am using a 2nd GUIViewport

http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=2261

and a 2nd player object is the point of view in my second view window, the main player is invisible to him, but his crossbow is not.. Yes this is split screen

I just can't find the code where it hides or unhides the player object for a Viewports render...I think it has something todo with the current controlobject but not sure..

any ideas?