Ouchface
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 > What is the terminal velocity in Doom?
 
Author
All times are GMT. The time now is 04:39. Post New Thread    Post A Reply
printz
CRAZY DUMB ZEALOT


Posts: 6844
Registered: 06-06


If you make an object fall in Doom (even vanilla) for a large enough amount of time, will it stop at a certain speed limit, or will its movement accelerate indefinitely? I tried this test map in vanilla Doom, and the view continued changing, until I actually DID hit the floor (due to hitting the exact spot I presume). The bug I was exploiting was how floors as low as -32768 cause the Z coordinate to wrap around when landing on the floor (even in GZDoom, sadly). Test WAD (vanilla Doom 2): http://www.mediafire.com/?5u0gj4otrwacb3b (WARNING: NOT FOR EPILEPTICS due to the increasingly fast floor-ceiling loop!)

So, is there a maximum falling speed in Doom?

Secondly, if I may ask so, how much is the g acceleration in Doom?

Last edited by printz on 12-22-11 at 10:19

Old Post 12-22-11 10:14 #
printz is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


Terminal velocity occurs in real life because there's air resistance to balance the acceleration due to gravity. Doom doesn't have any air resistance (you only get friction when standing on the floor), so you'll just accelerate forever.

Old Post 12-22-11 10:34 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6844
Registered: 06-06


Not even a speed cap (to avoid glitches)? But okay, original and most of modern Doom doesn't need a falling speed cap because you almost never encounter such situations, not even in Eternity.

Old Post 12-22-11 10:44 #
printz is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Mr. T
Senior Member


Posts: 1270
Registered: 12-03



fraggle said:
Terminal velocity occurs in real life because there's air resistance to balance the acceleration due to gravity. Doom doesn't have any air resistance (you only get friction when standing on the floor), so you'll just accelerate forever.


Ya, but as you get closer and closer to the speed of light, you will start to get slower and slower

Old Post 12-22-11 10:55 #
Mr. T is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 8662
Registered: 07-06


Nope, no vertical speed cap when falling, but there are some other caps in place when floating or moving up steps:


  • Moving up steps is instantaneous, so you could consider this as "infinite" acceleration (z pos is simply modified to the destination's height)
  • Floating up/down is done at a maximum rate of +/- 4 mu/tic (map units/tic). It's not even a proper acceleration, as floating is done at a constant speed and the z pos of a monster is simply altered directly.
  • There is indeed a GRAVITY constant, defined to be 1 mu/tic per tic, or 1 mu/tic^2. Unlike floating, this is actually applied to momz (to the momentum/speed), so it causes a proper acceleration. However, it's kind of anisotropic: if you had zero vertical speed, you get a -2*GRAVITY acceleration, otherwise -GRAVITY.


If you want to translate mu/tics to "real" speeds, it will depend a lot on which interpretation of Doom's map unit values you buy into.

Commonly accepted/debated ones are:


  • 10 map units are a foot.
  • 16 map units are a foot.
  • 8 map units are a foot.


Personally, I consider 16 horizontal map units to be a foot, and 10 vertical map units to be a foot (this is also kind of confirmed in heretic, where there is a FOOTHEIGHT constant defined to be 10 map units). 8 mu/foot IMHO doesn't fall neatly into either: it's a way too large scale for horizontal dimensions, and also for vertical ones. So for height, 10 mu/foot it is.

A tic is 1/35th of a second, so:

GRAVITY = 1 mu/tic^2 = 1225 mu/sec^2 = 122.5 ft/sec^2 = 40.425 m/sec^2 which is about 4 times stronger than normal gravity. For some reason it's hard to realize this in first person view, but it's easy to see how abnormally fast other objects do fall down (gibs, other players, dead monsters etc.)

@Mr. T (speed of light): that's not what happens: it simply gets harder and harder to accelerate towards it, in a way that is not explained by classical mechanics alone, but there are no speed reversals or slowdown effects simply because you're travelling near that particular speed.

Old Post 12-22-11 11:25 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7042
Registered: 07-07


See here.

Old Post 12-22-11 11:47 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6844
Registered: 06-06



Maes said:

GRAVITY = 1 mu/tic^2 = 1225 mu/sec^2 = 122.5 ft/sec^2 = 40.425 m/sec^2 which is about 4 times stronger than normal gravity. For some reason it's hard to realize this in first person view, but it's easy to see how abnormally fast other objects do fall down (gibs, other players, dead monsters etc.)

This is getting weirder and weirder. Not only that the default Doom value actually seems quite natural to the human, but ZDoom uses "800" instead of "1225" when talking about gravity (probably because of Quake).

Old Post 12-22-11 12:06 #
printz is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7130
Registered: 01-03



Maes said:


  • 10 map units are a foot.
  • 16 map units are a foot.
  • 8 map units are a foot.





I always assumed that 64 map units = 2 meter. That'd match best with Doomguy's size. And btw, Feet as a measurement have no place in any scientific discussions!

Old Post 12-22-11 12:22 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 8662
Registered: 07-06



printz said:
This is getting weirder and weirder. Not only that the default Doom value actually seems quite natural to the human, but ZDoom uses "800" instead of "1225" when talking about gravity (probably because of Quake).


That "1225" number is a normalizing factor for converting squared tic times to squared seconds.

E.g. an acceleration of 1 [mu/tic^2] for 35 tics should give a final speed of v = at = 1*35= 35 [mu/tic], which is equal to 1225 [mu/sec].

If I want to compute this directly in seconds I will use a=1225 [mu/sec^2] and t=1 [sec]. Dunno in what context that 800 number appears in ZDoom or quake though.

Old Post 12-22-11 12:23 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6844
Registered: 06-06



Graf Zahl said:

And btw, Feet as a measurement have no place in any scientific discussions!

Tell that to the bulk of Americans and British that populate here. But I know what you're referring to by scientific. In any case, at least the foot has a precise size these days: 30.48cm.

EDIT: I tested a low-gravity map with gravity set to 800/1225 (assuming that 800 might be Quake's number of tics/second^2). I found the falling to be pretty acceptable. Has anyone jumped off a large height in real life to know for sure? :P

Last edited by printz on 12-22-11 at 12:35

Old Post 12-22-11 12:27 #
printz is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7042
Registered: 07-07


American scientists use the metric system all the time.

Old Post 12-22-11 12:48 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


Well, not always.

Old Post 12-22-11 13:03 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Maes
I like big butts!


Posts: 8662
Registered: 07-06


The problem with imperial units is that they they have non-decimal multiples and subunits.

You have 12 inches that are 1 foot, 3 feet that are a yard and a furlong that is 220 yards, etc.

Of course, I supposed it's possible to use decimal prefixed with inches, too: e.g. kinches, minches, Minches, cinches etc. and simplify at least engineering-level calculations. I'm not sure which approach engineers are encouraged to use, but you can always do calculations in the most convenient unit and only convert to whatever other at the end, no matter how complex the relationship.

E.g. if I'm given a bunch of data in imperial units, even though I worked all my life with metric, I will prefer doing intermediate calculations in imperial, since the data will be dimensionally compatible and I will have less roundoff errors than converting all to metric beforehand, plus it's OK to write something such as "5.5 feet" in an intermediate calculation rather than "5 feet 6 inches". I will convert only the very final results to metric.

Old Post 12-22-11 13:42 #
Maes is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


Feet and inches would make a lot of sense - if we used a duodecimal counting system instead of a decimal one. There are actually very good arguments for having one, though it's certainly unlikely to become popular any time soon.

Old Post 12-22-11 13:45 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Phobus
Senior Member


Posts: 1477
Registered: 10-06



Graf Zahl said:



I always assumed that 64 map units = 2 meter. That'd match best with Doomguy's size. And btw, Feet as a measurement have no place in any scientific discussions!


Height-wise that does actually equate to Maes' 10 map units = 1 foot theory, which I believe is also the one I accept.

Surely terminal velocity in Doom would be the point at which the floating point number for velocity wraps around to positive again?

Old Post 12-22-11 13:45 #
Phobus is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6844
Registered: 06-06


What bugs me is that inches are already divided into 16 subunits when on the ruler, but they're the only imperial unit divided like this. 16 subunits would have been great compatibility with binary computing.

Old Post 12-22-11 13:47 #
printz is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 7042
Registered: 07-07


The old-fashioned measures were never unified. They were ad-hoc units corresponding to whatever felt practical and available at the time for this task. Each trade had its own units; each thing had its own definition, a bushel of apples and a bushel of wheat were neither the same volume nor the same mass.

Gradually, things like "twelve inches to a foot" were introduced to simplify things a bit, but the foot hadn't been created to be as much as twelve inches, and the inch hadn't been created to be one-twelfth of a foot. Furthermore, go to a different country, or even a different region, and such things were no longer necessarily true, as the local units called foot and inches had different lengths.

The metric system was designed from the top-down to be a unified and universal measurement system. A mass of apple would use the same unit as a mass of wheat, or a mass of water. Likewise for volume. Distance would use the same units whether you're measuring a person's size or a road's length.

Old Post 12-22-11 15:32 #
Gez is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Super Moderator


Posts: 5999
Registered: 07-00


I particularly like how a 1x1x1cm cube container will hold 1ml of water, which weighs ~1g at normal room temperature / pressure.

Old Post 12-22-11 15:41 #
fraggle is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Grazza
Super Moderator


Posts: 11450
Registered: 07-02


The one I tend to remember is that a cubic metre of water weighs a metric tonne. Can save a lot of embarrassment trying in vein to move/lift a moderate sized vessel full of water.

printz said:
What bugs me is that inches are already divided into 16 subunits when on the ruler, but they're the only imperial unit divided like this. 16 subunits would have been great compatibility with binary computing.
There are 16 ounces in a pound.

Yeah, if it weren't for the fact that we have 10 fingers and 10 toes, 8 or 16 would have been a very natural choice of base for a number system.

Old Post 12-22-11 21:23 #
Grazza is online now Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GreyGhost
a ghost... only grey


Posts: 5700
Registered: 01-08



Grazza said:
There are 16 ounces in a pound.
Not if you're measuring powder charges for a muzzle loading cannon. ;-)

Old Post 12-23-11 03:16 #
GreyGhost is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Woolie Wool
Member


Posts: 566
Registered: 08-02



fraggle said:
Feet and inches would make a lot of sense - if we used a duodecimal counting system instead of a decimal one. There are actually very good arguments for having one, though it's certainly unlikely to become popular any time soon.


Most of the imperial units can trace their lineage back to Babylonian units, and Babylon used a base-60 number system. 8 and 12 are both factors of 60, and 16 is the square of 4, which also goes into 60. Base-60 was a very powerful system in an age where little in the way of advanced mathematics had been invented. The units don't link into each other nicely (like Fraggle's example) because they never needed to. Science didn't exist, engineering was extremely rudimentary, and nobody saw the need to integrate the various forms of measurement. Also, they arose out of local tradition in a very organic and not at all systematic process while the SI units were carefully and consciously designed for their purpose from scratch.

Last edited by Woolie Wool on 12-24-11 at 22:03

Old Post 12-24-11 18:53 #
Woolie Wool is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 6844
Registered: 06-06


Base 60 is very cool because it allows you to divide by 3, in addition to whatever base 10 allows.

Old Post 12-24-11 19:09 #
printz is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Woolie Wool
Member


Posts: 566
Registered: 08-02



printz said:
Base 60 is very cool because it allows you to divide by 3, in addition to whatever base 10 allows.


Base 10 lets you divide by 2, 5, and 10. Base 60 lets you divide by 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, and 60.

Old Post 12-24-11 22:03 #
Woolie Wool is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Csonicgo
This post is probably useless


Posts: 3960
Registered: 03-04


You'll never get US civilians to switch to metric. It will never happen. Ever. Science already uses SI, so that's all that matters. It's cute that people have tried and tried.

What was this thread about again?

Old Post 12-25-11 01:02 #
Csonicgo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Face23785
Junior Member


Posts: 171
Registered: 04-11


As an American, I really wish we would switch over to metric. And everyone should use a 24-hour clock. I still can't comprehend when I meet people who claim they don't know how to do "army time" as if the army is the only entity that utilizes it, or as if it's any harder than a 1st grade math problem.

Old Post 12-25-11 08:24 #
Face23785 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
b0rsuk
Junior Member


Posts: 104
Registered: 05-10


I'm pretty sure you meant that both 10 (not 8) and 12 are divisors of 60.

But I'm not posting to bash people for imperfect vocabulary. I think it's interesting that base 60 was likely created as a common base between 10 and 12. Base 12 actually was very popular, that's why there are words like 'dozen'. Both 10 and 12 originate from human hand. 12 is the highest number you can count to using your hand. Use your thumb, and count each part of your remaining fingers. You should have 4 fingers left 3 parts each, so 3 * 4 = 12.

10 divides by 1, 2, 5, and 10.
12 divides by 1, 2, 3, 4, 6 and 12. Traders without the knowledge of fractions might prefer base 12, because it's easier to divide stuff in equal amounts.

Old Post 12-27-11 12:57 #
b0rsuk is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:39. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom General > What is the terminal velocity in Doom?

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