View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002978 | The Dark Mod | Coding | public | 14.01.2012 13:12 | 10.04.2012 19:30 |
| Reporter | Springheel | Assigned To | grayman | ||
| Priority | normal | Severity | normal | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | TDM 1.07 | ||||
| Target Version | TDM 1.08 | Fixed in Version | TDM 1.08 | ||
| Summary | 0002978: Landing on diagonal surface makes no sound | ||||
| Description | If you jump and land on a diagonal surface, no sound is played either to the player or AI. | ||||
| Tags | No tags attached. | ||||
|
When an actor lands on a sloped surface, he retains some downward vertical velocity, which allows him to slide a bit. CrashLand() was assuming he hadn’t ‘landed’ until that velocity was virtually zero, and even then only if there was a large change in vertical velocity in the same frame. By the time he slides to a stop, the change in vertical velocity is small, so he wasn’t considered to have ‘landed’. So I added a second check for large velocity changes regardless of current velocity, and marked him as ‘landed’ if there was a sudden large positive change in velocity. This allows the step sound to be played, and for AI to hear it. rev. 5250: Actor.cpp |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 14.01.2012 13:12 | Springheel | New Issue | |
| 06.02.2012 23:53 | grayman | Assigned To | => grayman |
| 06.02.2012 23:53 | grayman | Status | new => assigned |
| 07.02.2012 00:27 | grayman | Note Added: 0004307 | |
| 07.02.2012 00:27 | grayman | Status | assigned => resolved |
| 07.02.2012 00:27 | grayman | Resolution | open => fixed |
| 07.02.2012 00:27 | grayman | Product Version | => TDM 1.07 |
| 07.02.2012 00:27 | grayman | Fixed in Version | => TDM 1.08 |
| 07.02.2012 00:27 | grayman | Target Version | => TDM 1.08 |
| 10.04.2012 19:30 | grayman | Relationship added | has duplicate 0002433 |