diff options
author | lbsa71 | 2007-07-16 20:10:54 +0000 |
---|---|---|
committer | lbsa71 | 2007-07-16 20:10:54 +0000 |
commit | 85bdec5e0d30224f66851fe4183eb03e15828fbf (patch) | |
tree | 1215edd4ac26cdc37da2e43f975a04e71e1213cc /OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |
parent | *Adding some more files (diff) | |
download | opensim-SC_OLD-85bdec5e0d30224f66851fe4183eb03e15828fbf.zip opensim-SC_OLD-85bdec5e0d30224f66851fe4183eb03e15828fbf.tar.gz opensim-SC_OLD-85bdec5e0d30224f66851fe4183eb03e15828fbf.tar.bz2 opensim-SC_OLD-85bdec5e0d30224f66851fe4183eb03e15828fbf.tar.xz |
* Massive restructuring of RegionApplicationBase, OpenSimMain and SimpleApp
Diffstat (limited to '')
-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 | ||