From 572ab939369de8ccb666b31029cad119a965a57a Mon Sep 17 00:00:00 2001 From: gareth Date: Sun, 4 Mar 2007 00:44:26 +0000 Subject: Merged makomk's patch as per bug #61 Rescued my brain ready to implement animations and proper velocity encoding --- src/world/PhysicsEngine.cs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/world/PhysicsEngine.cs') 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 } public void DoStuff(World simworld) { + foreach (libsecondlife.LLUUID UUID in simworld.Entities.Keys) + { + if( true /* simworld.Entities[UUID].needupdate */) { // FIXME! + simworld.Entities[UUID].position += simworld.Entities[UUID].velocity; + Console.WriteLine("Moving "+UUID.ToString()+ " to "+ simworld.Entities[UUID].position.ToString()); + } + + } } } } -- cgit v1.1