diff options
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index ec406f1..81e2ea3 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -36,8 +36,6 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
36 | /// </summary> | 36 | /// </summary> |
37 | public class BasicPhysicsPlugin : IPhysicsPlugin | 37 | public class BasicPhysicsPlugin : IPhysicsPlugin |
38 | { | 38 | { |
39 | private BasicScene _mScene; | ||
40 | |||
41 | public BasicPhysicsPlugin() | 39 | public BasicPhysicsPlugin() |
42 | { | 40 | { |
43 | 41 | ||
@@ -145,35 +143,6 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
145 | actor.Position.X = 256; | 143 | actor.Position.X = 256; |
146 | } | 144 | } |
147 | } | 145 | } |
148 | //} | ||
149 | |||
150 | |||
151 | |||
152 | // This code needs sorting out - border crossings etc | ||
153 | /* if(actor.Position.X<0) | ||
154 | { | ||
155 | ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); | ||
156 | actor.Position.X = 0; | ||
157 | actor.Velocity.X = 0; | ||
158 | } | ||
159 | if(actor.Position.Y < 0) | ||
160 | { | ||
161 | ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); | ||
162 | actor.Position.Y = 0; | ||
163 | actor.Velocity.Y = 0; | ||
164 | } | ||
165 | if(actor.Position.X > 255) | ||
166 | { | ||
167 | ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); | ||
168 | actor.Position.X = 255; | ||
169 | actor.Velocity.X = 0; | ||
170 | } | ||
171 | if(actor.Position.Y > 255) | ||
172 | { | ||
173 | ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z)); | ||
174 | actor.Position.Y = 255; | ||
175 | actor.Velocity.X = 0; | ||
176 | }*/ | ||
177 | } | 146 | } |
178 | } | 147 | } |
179 | 148 | ||