aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world/PhysicsEngine.cs
diff options
context:
space:
mode:
authorgareth2007-03-03 01:49:56 +0000
committergareth2007-03-03 01:49:56 +0000
commitb968ff83a998b82d8bce9a4175178c7cd710be19 (patch)
tree4e3808e89610bede8ad63879b5fd3968f3c2800e /src/world/PhysicsEngine.cs
parentLock the world so we don't cause nastiness and crashes (diff)
downloadopensim-SC-b968ff83a998b82d8bce9a4175178c7cd710be19.zip
opensim-SC-b968ff83a998b82d8bce9a4175178c7cd710be19.tar.gz
opensim-SC-b968ff83a998b82d8bce9a4175178c7cd710be19.tar.bz2
opensim-SC-b968ff83a998b82d8bce9a4175178c7cd710be19.tar.xz
Begun porting a (STABLE) version of MW's movement code
Diffstat (limited to 'src/world/PhysicsEngine.cs')
-rw-r--r--src/world/PhysicsEngine.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/world/PhysicsEngine.cs b/src/world/PhysicsEngine.cs
index 7585135..4379aa0 100644
--- a/src/world/PhysicsEngine.cs
+++ b/src/world/PhysicsEngine.cs
@@ -18,6 +18,13 @@ namespace OpenSim.world
18 } 18 }
19 19
20 public void DoStuff(World simworld) { 20 public void DoStuff(World simworld) {
21 foreach (libsecondlife.LLUUID UUID in simworld.Entities.Keys)
22 {
23 if(simworld.Entities[UUID].needupdate) {
24 simworld.Entities[UUID].position += simworld.Entities[UUID].velocity;
25 }
26
27 }
21 } 28 }
22 } 29 }
23} 30}