From 825a2208c6225651c91d18152ddccf0b2c441f9c Mon Sep 17 00:00:00 2001 From: dan miller Date: Sat, 1 Sep 2007 21:30:51 +0000 Subject: [PATCH] ODE bugfix: multiple avatars now supported properly --- OpenSim/Region/Physics/OdePlugin/OdePlugin.cs | 2 +- bin/OpenSim.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs index 18e78d7fc1..5900c78cb2 100644 --- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs +++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs @@ -131,7 +131,7 @@ namespace OpenSim.Region.Physics.OdePlugin { foreach (OdeCharacter chr in _characters) { - d.SpaceCollide2(space, _characters[_characters.Count - 1].capsule_geom, IntPtr.Zero, nearCallback); + d.SpaceCollide2(space, chr.capsule_geom, IntPtr.Zero, nearCallback); } } diff --git a/bin/OpenSim.ini b/bin/OpenSim.ini index f65523cfc9..725f5082a6 100644 --- a/bin/OpenSim.ini +++ b/bin/OpenSim.ini @@ -1,6 +1,6 @@ [Startup] gridmode = false -physics = basicphysics +physics = OpenDynamicsEngine ; Prim Storage ; if you would like to use sqlite uncomment the following line (and ; comment the NullStorage line)