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.avinationmerge
parent
ad1df33006
commit
038acc39be
|
@ -268,7 +268,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
volume = Math.Abs(colInfo.relativeVel);
|
volume = Math.Abs(colInfo.relativeVel);
|
||||||
// Most noral collisions (running into walls, stairs)
|
// Most noral collisions (running into walls, stairs)
|
||||||
// should never be heard.
|
// should never be heard.
|
||||||
if (volume < 2.0f)
|
if (volume < 3.2f)
|
||||||
continue;
|
continue;
|
||||||
// m_log.DebugFormat("Collision speed was {0}", volume);
|
// m_log.DebugFormat("Collision speed was {0}", volume);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue