mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
* Massive restructuring of RegionApplicationBase, OpenSimMain and SimpleApp
This commit is contained in:
@@ -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;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user