View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002684 | The Dark Mod | Coding | public | 09.03.2011 01:32 | 27.10.2011 05:17 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Win32 | OS | Windows | OS Version | XP |
Product Version | SVN | ||||
Target Version | TDM 1.05 | Fixed in Version | TDM 1.05 | ||
Summary | 0002684: rats cause assertion failures when using debug DLL | ||||
Description | When testing with a Debug DLL, rats can trigger an assertion in: idClip::ClipModelsTouchingBounds() I have a test map full of rats that trigger this, and Business as Usual triggers it when the player is wandering around the his quarters. Any maps with rats have the potential to exhibit this. | ||||
Steps To Reproduce | Place a rat in a roomful of func_statics. Let him run around. At some point he triggers the assertion. | ||||
Additional Information | In preliminary debugging, it looks like the rat's clipmodel bounds are upside-down. ClipModelsTouchingBounds() asserts that bounds[1] must be greater than bounds[0], but in this case bounds[0].z > bounds[1].z. Currently tracing it back to clipmodel creation to see why. | ||||
Tags | No tags attached. | ||||
When resolving a block, an AI’s clipmodel’s lower z bound is bumped up by the max step height applicable to it, to avoid collisions with small objects on the ground. A rat is only 6 high, and its max step height is 10, so this was flipping the clipmodel bottom above the clipmodel’s top. Added a check to only bump the bottom up half the clipmodel’s height if it was less than the max step height, otherwise bump it up the max step height. rev. 4670: ResolveMovementBlockTask.cpp |
|
Date Modified | Username | Field | Change |
---|---|---|---|
09.03.2011 01:32 | grayman | New Issue | |
09.03.2011 01:32 | grayman | Status | new => assigned |
09.03.2011 01:32 | grayman | Assigned To | => grayman |
09.03.2011 02:58 | grayman | Note Added: 0003740 | |
09.03.2011 02:58 | grayman | Status | assigned => resolved |
09.03.2011 02:58 | grayman | Resolution | open => fixed |
09.03.2011 02:58 | grayman | Fixed in Version | => TDM 1.05 |
09.03.2011 02:58 | grayman | Target Version | => TDM 1.05 |
09.03.2011 02:59 | grayman | Category | Models => Coding |
27.10.2011 05:17 | greebo | Status | resolved => closed |