From 038acc39bef922b823964ac43083b24c129fca81 Mon Sep 17 00:00:00 2001 From: Melanie Date: Fri, 8 Jun 2012 00:09:30 +0200 Subject: Cut off collision sounds with avatar at 3.2. This makes most walkig collisions with walls and stairs silent. Falls from greater height and running into things will still be heard. a CollisionSound defined for the object will override this so one can still script a soccer ball with sounds. --- OpenSim/Region/Framework/Scenes/CollisionSounds.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs index 3ec3cf7..075724e 100644 --- a/OpenSim/Region/Framework/Scenes/CollisionSounds.cs +++ b/OpenSim/Region/Framework/Scenes/CollisionSounds.cs @@ -268,7 +268,7 @@ namespace OpenSim.Region.Framework.Scenes volume = Math.Abs(colInfo.relativeVel); // Most noral collisions (running into walls, stairs) // should never be heard. - if (volume < 2.0f) + if (volume < 3.2f) continue; // m_log.DebugFormat("Collision speed was {0}", volume); -- cgit v1.1