Author Topic: Quick question  (Read 1889 times)

Money

  • PGP
  • Posts: 24
Quick question
« on: June 23, 2007, 04:11:57 PM »
what is the hight and width of a player model when standing and when crouching?

Cobo

  • Autococker
  • Posts: 1362
Re: Quick question
« Reply #1 on: June 23, 2007, 04:13:49 PM »
Player Height -- 56 units.
Player Crouch Height -- 32 units

Eiii

  • Autococker
  • Posts: 4595
Re: Quick question
« Reply #2 on: June 23, 2007, 04:59:51 PM »
The player's hight is 57, actually. I wasn't able to walk under something 56 units high.

Matze

  • 68 Carbine
  • Posts: 346
Re: Quick question
« Reply #3 on: June 23, 2007, 05:51:55 PM »
The player's hight is 57, actually. I wasn't able to walk under something 56 units high.

I don't get you, eiii :P. How should it walk UNDER something which is equal to its height?

I might as well have an error in reasoning here, cause i'm pretty tired.

magalhaes

  • Autococker
  • Posts: 1256
Re: Quick question
« Reply #4 on: June 23, 2007, 05:55:26 PM »
lol....you know what he meant lol

Matze

  • 68 Carbine
  • Posts: 346
Re: Quick question
« Reply #5 on: June 23, 2007, 06:00:47 PM »
lol....you know what he meant lol
Unfortunately, no :(

See, if the player model has a height of 56 units it simply can't walk under something which has the same height.  But I'll stop for now because i don't to look like a dumb idiot ;)

bitmate

  • Autococker
  • Posts: 1248
Re: Quick question
« Reply #6 on: June 24, 2007, 02:06:58 AM »
rudumbz?

Code: [Select]
     _______
    |       |    }
    |       |    }
    |       |    } 57 units
    |       |    }
  __|       |__  }

The model can walk under this hole. (57units)

Eiii

  • Autococker
  • Posts: 4595
Re: Quick question
« Reply #7 on: June 24, 2007, 03:13:50 AM »
^truth. That's how I measured/tested it. :P

Matze

  • 68 Carbine
  • Posts: 346
Re: Quick question
« Reply #8 on: June 24, 2007, 08:43:29 AM »
huh. Now that I'm halfway OK again I see what was my error. I was always thinking about a "flying quadrangle" in the height of the model, not about a hole plus the cover.

lekky

  • Autococker
  • Posts: 2449
Re: Quick question
« Reply #9 on: June 24, 2007, 08:58:18 AM »
The player's hight is 57, actually. I wasn't able to walk under something 56 units high.

but surely the player is still 56 units high?

Eiii

  • Autococker
  • Posts: 4595
Re: Quick question
« Reply #10 on: June 24, 2007, 04:26:38 PM »
Nope. I tested 56- the player can't walk under it. Also, the minimum crouch height seems to be 29.
This is how I'm measuring:

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Quick question
« Reply #11 on: June 26, 2007, 11:56:45 AM »
It's 56 units, and here's how I'm measuring:

Code: [Select]
void PutClientInServer (edict_t *ent)
{
vec3_t mins = {-16, -16, -24};
vec3_t maxs = {16, 16, 32};

24 + 32 = 56

Also, the crouch height is exactly half that: 28 units.

Eiii

  • Autococker
  • Posts: 4595
Re: Quick question
« Reply #12 on: June 26, 2007, 02:42:46 PM »
Experimental methods > all.