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)