From 588ab9f09095710a1e7928f940cd381f8c9ef848 Mon Sep 17 00:00:00 2001 From: dan miller Date: Sun, 9 Sep 2007 13:24:18 +0000 Subject: ODE fix: avatar/avatar collision enabled. Needs client update fix to be seen correctly. In the right repository this time.. --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'OpenSim/Region/Physics/OdePlugin') diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 5900c78..3397384 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -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); + } } } -- cgit v1.1