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.
This commit is contained in:
Melanie
2012-06-08 00:09:30 +02:00
parent ad1df33006
commit 038acc39be

View File

@@ -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);