[Fixed] Proximity of things to walls

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
wildweasel
Posts: 21707
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Post by wildweasel »

For the exact same reason you can't have two people standing inside each other. Physics are fun ^_^
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia
Contact:

Post by David Ferstat »

Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
But you have to remember that we're talking about a virtual world, wherein the physics is, indeed, weird at times. :)

After all, in this virtual world all objects are surrounded by invisible prism-shaped fields that regulate how the objects collide with other things and scenery, where the player can run insanely fast, even while carrying insanely heavy weapons and equipment. Heck, he/she can even run faster if he/she leans in to a wall! We're talking about a world where gravity can be changed at will, and where some objects can defy gravity, again at will. (Ok, so it's not actually THEIR will.)

This world is what we make it. It lives by our rules, not necessarily the reality we're accustomed to.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
My point was that in Doom, a line does not necessarily represent an object. Doom's maps may be 2-dimensional, but the engine attempts to present it in a 3-dimensional format. An object placed on a line should work because that object could simply rest on the higher floor.

Now if you were referring to objects lying an a WALL, that's different.

I'd also like to point out that real world physics don't really apply in Doom. Last time I checked, there was no known way a gigantic skull could defy gravity, hurl itself at high speeds with no known form of locomotion, or continue to burn indefinately with no known source of fuel...
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

It's still a bad idea to place a sprite directly on a line, because when it gets projected to the screen, imprecision can cause it to be either behind or in front of the line depending on what angle and distance you look at it from.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Hm, if I think of the first room in Heretic E1M1, would it be worth to code a section that puts the torches one unit into the direction of the first sidedef, if there's no second sidedef?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

David Ferstat wrote:
Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
But you have to remember that we're talking about a virtual world, wherein the physics is, indeed, weird at times. :)
...
Well, if there is lo-grav (best zero grav), carrying heavy weapons is easy. :)
There is still reality in there.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Hirogen2 wrote:
David Ferstat wrote:
Hirogen2 wrote:Nah I mean if I had two equal cubes, they could not exist at the same position at the same time, except if there is some weird physics.
But you have to remember that we're talking about a virtual world, wherein the physics is, indeed, weird at times. :)
...
Well, if there is lo-grav (best zero grav), carrying heavy weapons is easy. :)
There is still reality in there.
I like how Elite Force allows for the carrying of several large weapons at once.

"The Hazard Suit has a portable transport buffer that allows a team member to store objects in a null space and rematerialize them at anytime."

Best explaination ever. :)
User avatar
David Ferstat
Posts: 1113
Joined: Wed Jul 16, 2003 8:53 am
Location: Perth, Western Australia
Contact:

Post by David Ferstat »

Yes, that was one ( of several things) that REALLY impressed me with "Star Trek Voyager: Elite Force" (a bit of a mouthful, eh?). The portable tranporter buffer was the only explanation I can recall in an FPS game for the various players' astonishing carrying capacity. The fact that it meshed perfectly with "Star Trek" established reality was, I guess, icing on the cake.

Of course, the excellent level design, animation and sound didn't hurt, either.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

"The Hazard Suit has a portable transport buffer that allows a team member to store objects in a null space and rematerialize them at anytime."
Yeah heh... if you look at it, Doom's Backpack is smaller than its rocket launcher! ;)
Anyway, ROTT hat the best weapon management. Carry some small ones in your pockets, an MP around the body and a missile/etc weapon in your hand. Taking a look at its sprites, the pistol always was in the right hand, the mis weapon on the left :P
User avatar
Enjay
 
 
Posts: 27668
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

HotWax wrote:"The Hazard Suit has a portable transport buffer that allows a team member to store objects in a null space and rematerialize them at anytime."
Sounds like a techy-ised version of a "bag of holding" or a "portable hole" from any fantasy based RPG - D&D may have done it first.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Here is a theoretical workaround: if an object occupies the same point (x,y) as a line (y=m*x+b), offset the thing one unit orthogonal to the line in the direction of the first sidedef. (That is, get the torch out of the wall with the maximum distance at a constant radius). If there is two sidedefs, well then, draw the torch on both sides.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Hirogen2 wrote:Anyway, ROTT hat the best weapon management.
Too bad everything else about it sucked. :roll:
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

Yeah. Read it at http://classicgaming.com/rott , which says that ROTT was #2 after Doom. It "failed" to become a popular game ONLY because of the 90 deg walls. So then.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Hirogen2 wrote:Yeah. Read it at http://classicgaming.com/rott , which says that ROTT was #2 after Doom. It "failed" to become a popular game ONLY because of the 90 deg walls. So then.
It failed to become a popular game because it was made by lazy bastards who couldn't be bothered to spare the time or money it would require to actually develop their own engine that would compete with Doom. Instead, they made a few hacks to the (then ancient) Wolf3D engine, slapped in an excessive amount of blood and gore, a drug reference or two, and called it good. I'm sure the kiddies would have bought it up like candy if they'd had the foresight to include nudity as well. Luckily, they figured out their blunder in time for Duke Nukem 3D.
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post by randi »

I have decided to slightly move anything that was placed directly on a wall for 2.0.48/2.1.0.
Post Reply

Return to “Closed Bugs [GZDoom]”