View Issue Details

IDProjectCategoryView StatusLast Update
0002083The Dark ModPhysicspublic26.03.2010 07:36
Reportertels Assigned Totels  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Target VersionTDM 1.01Fixed in VersionTDM 1.01 
Summary0002083: Candle holders and candles float
DescriptionEither their masses are not high enough for the density calculated by doom, or our water is setup wrong. Probably a solid metal candle holder is so heavy that it would not float, and a "hollow metal" is too modern manufacturing.
TagsNo tags attached.

Activities

tels

tels

04.01.2010 22:36

reporter   ~0002849

The small rock in candles.map also floats, while the larger one sinks. Seems either the weights or the water are off.
tels

tels

09.01.2010 14:37

reporter   ~0002862

Adjusting the mass of atdm:moveable_rock_small02 from 3.8 to 9.8 kg seems to make it sink, but it sinks slowly, not like a rock. And that seems a bit high for such a small stone.
tels

tels

09.01.2010 16:06

reporter   ~0002864

Okay, it seems the density of liquids was just off:

game/physics/physics_liquid.cpp
38: this->density = 0.001043f;

DarkMod/liquid.cpp
102: spawnArgs.GetFloat("density","0.01043f",liquidDensity);
tels

tels

09.01.2010 16:40

reporter   ~0002868

Adjusted density of atdm:liquid_water, it was off by a factor of 10 due to a wrong default value in the code.

Issue History

Date Modified Username Field Change
04.01.2010 21:23 tels New Issue
04.01.2010 22:36 tels Note Added: 0002849
09.01.2010 14:37 tels Note Added: 0002862
09.01.2010 16:06 tels Note Added: 0002864
09.01.2010 16:40 tels Status new => assigned
09.01.2010 16:40 tels Assigned To => tels
09.01.2010 16:40 tels Note Added: 0002868
09.01.2010 16:40 tels Status assigned => resolved
09.01.2010 16:40 tels Resolution open => fixed
29.01.2010 09:51 greebo Target Version => TDM 1.01
29.01.2010 09:53 greebo Fixed in Version => TDM 1.01
26.03.2010 07:36 greebo Status resolved => closed