ODE fix: avatar/avatar collision enabled. Needs client update fix to be seen correctly. In the right repository this time..

This commit is contained in:
dan miller
2007-09-09 13:24:18 +00:00
parent 21227b4fda
commit 588ab9f090

View File

@@ -132,6 +132,10 @@ namespace OpenSim.Region.Physics.OdePlugin
foreach (OdeCharacter chr in _characters)
{
d.SpaceCollide2(space, chr.capsule_geom, IntPtr.Zero, nearCallback);
foreach (OdeCharacter ch2 in _characters) /// should be a separate space -- lots of avatars will be N**2 slow
{
d.SpaceCollide2(chr.capsule_geom, ch2.capsule_geom, IntPtr.Zero, nearCallback);
}
}
}