diff options
author | gareth | 2007-03-03 01:49:56 +0000 |
---|---|---|
committer | gareth | 2007-03-03 01:49:56 +0000 |
commit | b968ff83a998b82d8bce9a4175178c7cd710be19 (patch) | |
tree | 4e3808e89610bede8ad63879b5fd3968f3c2800e /src/world/PhysicsEngine.cs | |
parent | Lock the world so we don't cause nastiness and crashes (diff) | |
download | opensim-SC_OLD-b968ff83a998b82d8bce9a4175178c7cd710be19.zip opensim-SC_OLD-b968ff83a998b82d8bce9a4175178c7cd710be19.tar.gz opensim-SC_OLD-b968ff83a998b82d8bce9a4175178c7cd710be19.tar.bz2 opensim-SC_OLD-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.cs | 7 |
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 | } |