201 {
203 if ( impactVelocity < 0.3 )
204 return 0.0;
205
206 float tickTime =
g_Game.GetTickTime();
208 return 0.0;
209
212 return 0.0;
213
214#ifdef DIAG_DEVELOPER
215 string infoText =
"Surface: " +
surfaceName +
", Weight: " + weight +
", Speed: " + impactVelocity;
216
217 if ( s_ImpactSoundsInfo.Count() == 10 )
218 s_ImpactSoundsInfo.Remove(9);
219
220 s_ImpactSoundsInfo.InsertAt(infoText, 0);
221#endif
222
224
226 return impactVelocity;
227 }
string GetImpactSurfaceTypeEx(IEntity other, Contact impact, out int liquid)
const float SOUND_CONTACT_SKIP
float m_SoundContactTickTime
proto native float Length()
Returns length of vector (magnitude)
proto native int Hash()
Returns hash of string.