aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
diff options
context:
space:
mode:
authorMW2007-04-25 18:12:06 +0000
committerMW2007-04-25 18:12:06 +0000
commit9ed0a8dbad121b64ca8baca78f28ca58602c47ca (patch)
tree5c0008e0be59cb7ccaaf8ff1b0ea2f272a0548e6 /OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
parentCan now use the xml config file for setting up things like sandbox mode, logi... (diff)
downloadopensim-SC-9ed0a8dbad121b64ca8baca78f28ca58602c47ca.zip
opensim-SC-9ed0a8dbad121b64ca8baca78f28ca58602c47ca.tar.gz
opensim-SC-9ed0a8dbad121b64ca8baca78f28ca58602c47ca.tar.bz2
opensim-SC-9ed0a8dbad121b64ca8baca78f28ca58602c47ca.tar.xz
updated to use lastest version of libsl but is currently broke when using SL viewer 1.15.02, due to big changes in the message templates.
Diffstat (limited to '')
-rw-r--r--OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs16
1 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
index 26b9565..b886f46 100644
--- a/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
+++ b/OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs
@@ -109,31 +109,31 @@ namespace OpenSim.Physics.BasicPhysicsPlugin
109 {*/ 109 {*/
110 actor.Position.Z = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X]+1; 110 actor.Position.Z = _heightMap[(int)actor.Position.Y * 256 + (int)actor.Position.X]+1;
111 //} 111 //}
112 112
113 113
114 114
115 // This code needs sorting out - border crossings etc 115 // This code needs sorting out - border crossings etc
116/* if(actor.Position.X<0) 116/* if(actor.Position.X<0)
117 { 117 {
118 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); 118 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
119 actor.Position.X = 0; 119 actor.Position.X = 0;
120 actor.Velocity.X = 0; 120 actor.Velocity.X = 0;
121 } 121 }
122 if(actor.Position.Y < 0) 122 if(actor.Position.Y < 0)
123 { 123 {
124 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); 124 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
125 actor.Position.Y = 0; 125 actor.Position.Y = 0;
126 actor.Velocity.Y = 0; 126 actor.Velocity.Y = 0;
127 } 127 }
128 if(actor.Position.X > 255) 128 if(actor.Position.X > 255)
129 { 129 {
130 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); 130 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
131 actor.Position.X = 255; 131 actor.Position.X = 255;
132 actor.Velocity.X = 0; 132 actor.Velocity.X = 0;
133 } 133 }
134 if(actor.Position.Y > 255) 134 if(actor.Position.Y > 255)
135 { 135 {
136 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); 136 ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
137 actor.Position.Y = 255; 137 actor.Position.Y = 255;
138 actor.Velocity.X = 0; 138 actor.Velocity.X = 0;
139 }*/ 139 }*/