diff options
author | gareth | 2007-03-04 00:44:26 +0000 |
---|---|---|
committer | gareth | 2007-03-04 00:44:26 +0000 |
commit | 572ab939369de8ccb666b31029cad119a965a57a (patch) | |
tree | 2c70798e4e33bc712fbe7bab7742944ef5215001 /src/world/PhysicsEngine.cs | |
parent | Rollback to r117 (diff) | |
download | opensim-SC_OLD-572ab939369de8ccb666b31029cad119a965a57a.zip opensim-SC_OLD-572ab939369de8ccb666b31029cad119a965a57a.tar.gz opensim-SC_OLD-572ab939369de8ccb666b31029cad119a965a57a.tar.bz2 opensim-SC_OLD-572ab939369de8ccb666b31029cad119a965a57a.tar.xz |
Merged makomk's patch as per bug #61
Rescued my brain ready to implement animations and proper velocity encoding
Diffstat (limited to 'src/world/PhysicsEngine.cs')
-rw-r--r-- | src/world/PhysicsEngine.cs | 8 |
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 | } |