Urban Wars
October 09, 2024, 11:46:44 pm
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome, here you will find all the information on Urban Wars
 
  Home Help Search Staff List Login Register  

camera height?

Pages: [1]
  Print  
Author Topic: camera height?  (Read 521 times)
DukeInstinct
Administrator
Lieutenant
*****
Posts: 120


The ArchDuke


View Profile WWW
« on: April 26, 2010, 06:29:58 pm »

The camera height is based on the center of the bounding box and view_ofs_z.

If the center of the model is 0, 0, 0 then you'd use setsize like this.

setsize(self, '-16 -16 -16', '16 16 16');

I think the first vector parameter defines the bottom left rear corner (mins) and the second vector parameter defines the top right front corner(maxs) of the bounding box.
Report Spam   Logged



Urban Wars Coder/3d Modeler/Animator



Pages: [1]
  Print  
 
Jump to:  


Get your own Chat Box! Go Large!
Bookmark this site! | Upgrade This Forum
SMF For Free - Create your own Forum

Powered by SMF | SMF © 2016, Simple Machines
Privacy Policy