Raised This Month: $ Target: $400
 0% 

Question about pev_mins pev_maxs.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-04-2008 , 10:44   Question about pev_mins pev_maxs.
Reply With Quote #1

I know that these are used to set the size of the player.

How can I detect the position of them when the player is looking in deferent positions.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-04-2008 , 11:50   Re: Question about pev_mins pev_maxs.
Reply With Quote #2

A player's bounding box doesn't change based on which way they are looking.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 08-04-2008 , 12:51   Re: Question about pev_mins pev_maxs.
Reply With Quote #3

Just the model is the one that swiches positions.
Is the bounding box bigger than the model?
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 08-04-2008 , 13:44   Re: Question about pev_mins pev_maxs.
Reply With Quote #4

some parts of the model (eg the arm + weapon) are outside the bounding box. but the bounding box is a 32*32*72 units box afaik. ok the values are rounded i think the real values the hl engine uses are 32.000025 and 72.000025 but im not sure
__________________
SchlumPF* is offline
Send a message via ICQ to SchlumPF*
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 08-04-2008 , 19:46   Re: Question about pev_mins pev_maxs.
Reply With Quote #5

The bounding box, that determines collisions with objects, is a rectangular solid roughly the same size of the player. It changes size based on whether they or ducking or standing, but it doesn't otherwise change or rotate. Their arms may stick out of the bounding box. However, the model has hitboxes which move with the model, which determine how you get shot.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:31.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode