View Issue Details

IDProjectCategoryView StatusLast Update
0002978The Dark ModCodingpublic10.04.2012 19:30
ReporterSpringheel Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.07 
Target VersionTDM 1.08Fixed in VersionTDM 1.08 
Summary0002978: Landing on diagonal surface makes no sound
DescriptionIf you jump and land on a diagonal surface, no sound is played either to the player or AI.
TagsNo tags attached.

Relationships

has duplicate 0002433 resolvedgrayman Jump sounds do not play on slanted surfaces 

Activities

grayman

grayman

07.02.2012 00:27

viewer   ~0004307

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

Issue History

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