Sarge
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Hitbox Angles
 
Author
All times are GMT. The time now is 19:49. Post New Thread    Post A Reply
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


As I understand it, the Doom engine represents all Things such as Monsters and Players with a "hitbox".

This hitbox is the reason you can snipe a monster which is sitting at rest very close to corner, and have blood spats appear in thin air, then have the monster walk forward into visible range. This is also the reason the Spider Mastermind is so defeatable with the BFG, as its' large hitbox soaks up all the BFG rays, taking extra damage. You can also see the hitbox effect when you "thingbump" a weapon which is otherwise unreachable.

Correct me if I'm wrong.

My question is: Do hitboxes angle dynamically through 360 degrees, or are they always the one straight angle, and the engine works out Thing direction separately to hitboxes?

Old Post 07-23-09 07:04 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
hawkwind
Forum Regular


Posts: 789
Registered: 04-04


They are called bounding boxes AFAIK, and no, the "box" itself does not turn.

Old Post 07-23-09 07:25 #
hawkwind is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
EarthQuake
9.5 on the Richter!


Posts: 2745
Registered: 05-03


Yeah, that would explain why you can fit into an orthogonal 33-wide corridor, but not into a 33-wide angled corridor.

Old Post 07-23-09 07:50 #
EarthQuake is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
udderdude
Senior Member


Posts: 1386
Registered: 04-02


If I were to go about changing this, I would change it into a hit circle. But it's probably not worth screwing around with.

Old Post 07-23-09 08:10 #
udderdude is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


Cool, thanks guys.

Old Post 07-23-09 08:26 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 5595
Registered: 12-00


It's a common misconception that things in Doom are round when viewed from above. I reckon that's because most editing tools show them as round and because the method of measuring their width (or half of their with) is known as their radius.

As has been said, the boxes are always aligned to the grid. One way to see this in game is to use Zdoom and type

am_cheat 3

at the console. That's just like the iddt iddt cheat but it also shows the bounding boxes of the actors too.

Old Post 07-23-09 11:14 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Super Jamie
Forum Staple


Posts: 2670
Registered: 03-08


Now that's very useful, cheers Enjay!

Old Post 07-23-09 14:35 #
Super Jamie is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
doom2day
Forum Regular


Posts: 676
Registered: 08-04



udderdude said:
If I were to go about changing this, I would change it into a hit circle. But it's probably not worth screwing around with.


I'm curious if that would break anything.

Old Post 07-25-09 03:23 #
doom2day is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 4614
Registered: 08-00



doom2day said:


I'm curious if that would break anything.


It wouldn't "break" anything, aside from compatibility, assuming that you rewrite every bit of code in the game that deals with clipping of mobj_t's. That's a hell of a lot of code, of course.

Also, clipping against circles, cylinders, or spheres has its own special realm of challenges, some of which are quite difficult compared to bounding boxes.

Old Post 07-26-09 19:16 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 19:49. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > Hitbox Angles

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory