Game Development Community

Camera in object view

by Mario N. Bonassin · in Torque Game Engine · 10/19/2005 (12:07 pm) · 3 replies

I have guiObjectveiw working but how do I get the dts to not fill the window? Do i have to do something with the camera in the modeling program or is there a way to do it to the objectview?

#1
10/19/2005 (4:13 pm)
Anyone have any ideas??
#2
10/21/2005 (3:36 am)
Hi Mario,

Here's the resource I used which has camera support.
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=3659

Call the SetCamera method, there are 3 angle parameters and a distance from the object parameter. Works a treat.
#3
10/21/2005 (12:49 pm)
I tried that. this is the proper way to write it, right?

view.setCamera( 10, 10, 10, 100);

or is there some other way I'm supposed to do it?