View Issue Details

IDProjectCategoryView StatusLast Update
0004178The Dark ModDesign/Codingpublic21.07.2015 17:45
ReporterSteveL Assigned ToSteveL  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.03 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0004178: Thrown objects pass straight through glass that's down to 0 health
DescriptionMoveables pass straight through a pane of glass that's already at 0 health and about to break, without colliding with it. Arrows and the player's melee weapon do break glass that's in that state.
Additional InformationThe glass pane's collision settings get updated when it reaches 0 health, so that only things that are specifically set up to collide with "rendermodels" will hit it. Things that merely collide with ordinary solid items will no longer hit it. Arrows are set up to collide with general solids, plus other projectiles, and rendermodels, so they work. Moveables collide with general solids, plus other moveables and corpses. Not with rendermodels, so they don't work.

We probably don't want to mess with moveable physics, but we could delay the glass's change in nature until it actually shatters.
TagsNo tags attached.

Relationships

child of 0004177 new Func_fractures overhaul 

Activities

SteveL

SteveL

19.07.2015 07:47

reporter   ~0007646

Moved the physics change from idBrittleFracture::Break() to ::Shatter()

at rev 6517

game/BrittleFracture.cpp
SteveL

SteveL

21.07.2015 17:08

reporter   ~0007651

Reopening to look for a further fix. After Shatter(), some shards can still remain in the window, and they shouldn't be non-solid to throwables.
SteveL

SteveL

21.07.2015 17:44

reporter   ~0007653

Fix undone and re-done. Instead of delaying the change to physics, add moveables to the list of things that shards collide with.
SteveL

SteveL

21.07.2015 17:45

reporter   ~0007654

at rev 6519

Issue History

Date Modified Username Field Change
18.07.2015 13:41 SteveL New Issue
18.07.2015 13:41 SteveL Status new => assigned
18.07.2015 13:41 SteveL Assigned To => SteveL
18.07.2015 13:41 SteveL Relationship added child of 0004177
19.07.2015 07:47 SteveL Note Added: 0007646
19.07.2015 07:47 SteveL Status assigned => resolved
19.07.2015 07:47 SteveL Fixed in Version => TDM 2.04
19.07.2015 07:47 SteveL Resolution open => fixed
21.07.2015 17:08 SteveL Note Added: 0007651
21.07.2015 17:09 SteveL Status resolved => assigned
21.07.2015 17:44 SteveL Note Added: 0007653
21.07.2015 17:45 SteveL Note Added: 0007654
21.07.2015 17:45 SteveL Status assigned => resolved