aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.Physics
diff options
context:
space:
mode:
authorMW2007-06-15 16:03:02 +0000
committerMW2007-06-15 16:03:02 +0000
commit17b4818b8e9a141b54540b342542bcb2ad21b4db (patch)
tree5abca9ede1e82d4a2e01301cc19eed25ad88702a /OpenSim/OpenSim.Physics
parentPreliminary movement added to sugilite, forwards walking only and no animations. (diff)
downloadopensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.zip
opensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.tar.gz
opensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.tar.bz2
opensim-SC_OLD-17b4818b8e9a141b54540b342542bcb2ad21b4db.tar.xz
Very Preliminary border crossing added to sugilite. (Note: Sugilite doesn't have any backend ogs communication support yet so everything is Sandbox mode only )
Diffstat (limited to 'OpenSim/OpenSim.Physics')
-rw-r--r--OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 5636b13..341ffbb 100644
--- a/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -120,22 +120,22 @@ namespace OpenSim.Physics.BasicPhysicsPlugin
120 } 120 }
121 else 121 else
122 { 122 {
123 if (actor.Position.Y < -1) 123 if (actor.Position.Y < 0)
124 { 124 {
125 actor.Position.Y = -1; 125 actor.Position.Y = 0;
126 } 126 }
127 else if (actor.Position.Y > 257) 127 else if (actor.Position.Y > 256)
128 { 128 {
129 actor.Position.Y = 257; 129 actor.Position.Y = 256;
130 } 130 }
131 131
132 if (actor.Position.X < -1) 132 if (actor.Position.X < 0)
133 { 133 {
134 actor.Position.X = -1; 134 actor.Position.X = 0;
135 } 135 }
136 if (actor.Position.X > 257) 136 if (actor.Position.X > 256)
137 { 137 {
138 actor.Position.X = 257; 138 actor.Position.X = 256;
139 } 139 }
140 } 140 }
141 //} 141 //}