diff options
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 'OpenSim.Physics')
-rw-r--r-- | OpenSim.Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 16 |
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 | }*/ |