* Massive restructuring of RegionApplicationBase, OpenSimMain and SimpleApp

This commit is contained in:
lbsa71
2007-07-16 20:10:54 +00:00
parent 41b9baa054
commit 85bdec5e0d
7 changed files with 113 additions and 139 deletions

View File

@@ -36,8 +36,6 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
/// </summary>
public class BasicPhysicsPlugin : IPhysicsPlugin
{
private BasicScene _mScene;
public BasicPhysicsPlugin()
{
@@ -145,35 +143,6 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin
actor.Position.X = 256;
}
}
//}
// This code needs sorting out - border crossings etc
/* if(actor.Position.X<0)
{
ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
actor.Position.X = 0;
actor.Velocity.X = 0;
}
if(actor.Position.Y < 0)
{
ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
actor.Position.Y = 0;
actor.Velocity.Y = 0;
}
if(actor.Position.X > 255)
{
ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
actor.Position.X = 255;
actor.Velocity.X = 0;
}
if(actor.Position.Y > 255)
{
ControllingClient.CrossSimBorder(new LLVector3(this.Position.X,this.Position.Y,this.Position.Z));
actor.Position.Y = 255;
actor.Velocity.X = 0;
}*/
}
}