aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/PhysXPlugin
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin')
-rw-r--r--OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs42
1 files changed, 39 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
index bc28626..8525e75 100644
--- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
+++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
@@ -270,10 +270,25 @@ namespace OpenSim.Region.Physics.PhysXPlugin
270 270
271 public override PhysicsVector Size 271 public override PhysicsVector Size
272 { 272 {
273 get { return new PhysicsVector(0, 0, 0); } 273 get { return PhysicsVector.Zero; }
274 set { } 274 set { }
275 } 275 }
276 276 public override float Mass
277 {
278 get { return 0f; }
279 }
280 public override PhysicsVector Force
281 {
282 get { return PhysicsVector.Zero; }
283 }
284 public override PhysicsVector CenterOfMass
285 {
286 get { return PhysicsVector.Zero; }
287 }
288 public override PhysicsVector GeometricCenter
289 {
290 get { return PhysicsVector.Zero; }
291 }
277 public override PhysicsVector Velocity 292 public override PhysicsVector Velocity
278 { 293 {
279 get { return _velocity; } 294 get { return _velocity; }
@@ -507,8 +522,29 @@ namespace OpenSim.Region.Physics.PhysXPlugin
507 522
508 public override PhysicsVector Size 523 public override PhysicsVector Size
509 { 524 {
510 get { return new PhysicsVector(0, 0, 0); } 525 get { return PhysicsVector.Zero; }
511 set { } 526 set { }
512 } 527 }
528
529 public override float Mass
530 {
531 get { return 0f; }
532 }
533
534 public override PhysicsVector Force
535 {
536 get { return PhysicsVector.Zero; }
537 }
538
539 public override PhysicsVector CenterOfMass
540 {
541 get { return PhysicsVector.Zero; }
542 }
543
544 public override PhysicsVector GeometricCenter
545 {
546 get { return PhysicsVector.Zero; }
547 }
548
513 } 549 }
514} 550}