Raised This Month: $ Target: $400
 0% 

trace_hull's Hull Sizes


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 11-13-2010 , 20:15   trace_hull's Hull Sizes
Reply With Quote #1

I saw in func_break a piece of code that it took me attention to it...

PHP Code:
        switch( bbox )
        {
        case 
0:    // Point
            
UTIL_SetSize(pevVector(-8, -8, -8), Vector(888));
            break;

        case 
2// Big Hull!?!?    !!!BUGBUG Figure out what this hull really is
            
UTIL_SetSize(pevVEC_DUCK_HULL_MIN*2VEC_DUCK_HULL_MAX*2);
            break;

        case 
3// Player duck
            
UTIL_SetSize(pevVEC_DUCK_HULL_MINVEC_DUCK_HULL_MAX);
            break;

        default:
        case 
1// Player
            
UTIL_SetSize(pevVEC_HULL_MINVEC_HULL_MAX);
            break;
        } 
These sizes are the Hull sizes?

Also, I found these values on util.h:

PHP Code:
#define VEC_HULL_MIN        Vector(-16, -16, -36)
#define VEC_HULL_MAX        Vector( 16,  16,  36)
#define VEC_DUCK_HULL_MIN    Vector(-16, -16, -18 )
#define VEC_DUCK_HULL_MAX    Vector( 16,  16,  18) 
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
 



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 11:18.


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