CleverRaven / CleverRaven/Cataclysm-DDA

Debris from exploding vehicles penetrates walls

Open
#46,112 3 comments 1 reaction 0 assignees View on GitHub
(P4 - Low) (S2 - Confirmed) <Bug> Mechanics: Effects / Skills / Stats
Dominant language
C++
Stars
13.1k
Forks
4.6k
Avg merge
2d 1h
Merged PRs (30d)
200

Description

# Describe the bug

When using explosive weapons on vehicles that are parked next to a wall, debris from the vehicle may appear on the opposite side of the wall.

# Steps To Reproduce

1. Spawn a vehicle, park it flush with a wall.
2. Repeatedly hit the vehicle with explosive weaponry.
3. Keep periodically checking behind the wall for vehicle debris (glass shards, steel lumps, etc.).

# Expected behavior

Debris should not be able to penetrate the walls, without doing significant damage to them in the process. Debris should not be able to teleport through walls, unless a specific enchantment had been placed on the weapon beforehand.

# Screenshots
Glass to the north of the counter appeared after I grenaded the vehicle outside the shelter several times.

![image](https://user-images.githubusercontent.com/74809740/102577108-4f69c980-40c5-11eb-82e3-524670175ea6.png)

# Versions and configuration

- OS: Windows
- OS Version: 10.0 2004
- Game Version: 0.E-8244-g56e7545 [64-bit]
- Graphics Version: Tiles
- Game Language: System language []
- Mods loaded: [
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions]
]

# Additional context

I have not tested this with non-explosive weaponry. Could be that a sufficiently powerful melee blow would have the same effect.

Contributor guide

Open the contributing guide

Research direction

The report identifies vehicle explosions, debris, walls, and the Tiles graphics configuration, but names no source files, tests, or entry points. Begin by reproducing the issue with the listed steps and tracing vehicle debris and wall-collision behavior; done means debris remains blocked by walls unless the wall takes significant damage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.