Urban Wars
October 09, 2024, 11:46:44 pm
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
Forever
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?
Urban Wars
>
Forum
>
Help
>
Programming/Coding
>
camera height?
>
Message #278
Pages: [
1
]
« previous
next »
Print
Author
Topic: camera height? (Read 521 times)
DukeInstinct
Administrator
Lieutenant
Posts: 120
The ArchDuke
Re: camera height?
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Urban Wars
-----------------------------
=> Urban Wars Suggestions
=> Urban Wars Updates
=> Urban Wars Discussion
=> Apply for the Team
-----------------------------
Off Topic
-----------------------------
=> General Discussion
-----------------------------
Rules
-----------------------------
=> The Rules
-----------------------------
Help
-----------------------------
=> Programming/Coding
=> Mapping
=> 3d modeling
Get your own Chat Box!
Go Large!
Loading...