aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/world/PhysicsEngine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/world/PhysicsEngine.cs')
-rw-r--r--src/world/PhysicsEngine.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/world/PhysicsEngine.cs b/src/world/PhysicsEngine.cs
index 7585135..a789828 100644
--- a/src/world/PhysicsEngine.cs
+++ b/src/world/PhysicsEngine.cs
@@ -18,6 +18,14 @@ 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( true /* simworld.Entities[UUID].needupdate */) { // FIXME!
24 simworld.Entities[UUID].position += simworld.Entities[UUID].velocity;
25 Console.WriteLine("Moving "+UUID.ToString()+ " to "+ simworld.Entities[UUID].position.ToString());
26 }
27
28 }
21 } 29 }
22 } 30 }
23} 31}