Project

General

Profile

Feature #438

Accurately hit testing fast projectiles (compatibility option)

Added by vermil almost 13 years ago. Updated 3 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Enhancement
Target version:
Start date:
2007-03-14
% Done:

0%

Tags:

Description

A bug in the original Doom, projectiles sometimes travel through walls.

Doomsday specific, projectiles sometimes fail to activate XG scripts that can be activated through being hit by projectile.

Both seem more common with fast projectiles than slow ones.

History

#1 Updated by skyjake over 6 years ago

- Milestone: --> v1.8.6

#2 Updated by skyjake over 6 years ago

  • Tags set to Doom, PlaySim
  • Category set to Defect
  • Priority changed from Low to Normal
  • Target version deleted (1.8.6)

Perhaps occurs when a missile travels so fast that the hit testing range skips over some line?

#3 Updated by danij over 6 years ago

Yep, that is precisely the cause. Its a flaw in the vanilla algorithm for detecting crossed lines, which, we can't change without seriously affecting mod compatibility.

#4 Updated by skyjake over 6 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Projectiles sometimes travel through walls to Accurately hit testing fast projectiles
  • Category changed from Defect to Vanilla emulation
  • Priority changed from Normal to Low

Then we can at most add a compatibility option for enabling or disabling more accurate hit testing for fast-moving objects. Converting to a Feature.

#5 Updated by vermil over 6 years ago

What spurred me on these issues was that I made a couple of mods/reimages of other games in the past, that I didn't quite complete or release. I've still got the files and have tweaked them from time to time.

One, a Doom mod, featured XG doors that could be blown up with rockets; the rockets were always exploding on the door, but it wasn't activating the XG line unless I struck the doors from certain angles.

In the other Heretic mod, I had a bunch of small projectiles with a speed of 15, but they regularly kept going through walls; though they always exploded on the backs of 1 sided linedefs they hit after. The strange thing is that 15 is not a high speed; various missiles in Doom are that fast, so maybe it was the size or something of my projectiles. They had a radius and height of 4.

#6 Updated by vermil over 6 years ago

I will add that yes I am aware, that rocket splash damage doesn't trigger XG. I refer to the actual rocket above.

#7 Updated by skyjake 3 months ago

  • Subject changed from Accurately hit testing fast projectiles to Accurately hit testing fast projectiles (compatibility option)
  • Category changed from Vanilla emulation to Enhancement
  • Target version set to Vanilla / Gameplay

Also available in: Atom PDF