diff options
Diffstat (limited to 'OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index 545f461..5ac651f 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -258,7 +258,7 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
258 | 258 | ||
259 | public override PhysicsVector Size | 259 | public override PhysicsVector Size |
260 | { | 260 | { |
261 | get { return new PhysicsVector(0, 0, 0); } | 261 | get { return PhysicsVector.Zero; } |
262 | set { } | 262 | set { } |
263 | } | 263 | } |
264 | 264 | ||
@@ -269,7 +269,22 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
269 | return; | 269 | return; |
270 | } | 270 | } |
271 | } | 271 | } |
272 | 272 | public override float Mass | |
273 | { | ||
274 | get { return 0f; } | ||
275 | } | ||
276 | public override PhysicsVector Force | ||
277 | { | ||
278 | get { return PhysicsVector.Zero; } | ||
279 | } | ||
280 | public override PhysicsVector CenterOfMass | ||
281 | { | ||
282 | get { return PhysicsVector.Zero; } | ||
283 | } | ||
284 | public override PhysicsVector GeometricCenter | ||
285 | { | ||
286 | get { return PhysicsVector.Zero; } | ||
287 | } | ||
273 | public override PhysicsVector Velocity | 288 | public override PhysicsVector Velocity |
274 | { | 289 | { |
275 | get { return _velocity; } | 290 | get { return _velocity; } |