diff options
author | Teravus Ovares | 2008-03-10 05:23:43 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-10 05:23:43 +0000 |
commit | 8bea3dbdb91dfb465338572e3dfb40a5adfb9bab (patch) | |
tree | d941528dbb7e5faba74037dfbc03a2edacede342 /OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | |
parent | * Fixed a few things and enabling Physical Prim border crossings again. (diff) | |
download | opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.zip opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.gz opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.bz2 opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.xz |
* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
* Added WaterLevel support to the ODEPlugin. More on this later.
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs index 0c42260..b03da31 100644 --- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | |||
@@ -93,6 +93,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
93 | 93 | ||
94 | } | 94 | } |
95 | 95 | ||
96 | public override void SetWaterLevel(float baseheight) | ||
97 | { | ||
98 | |||
99 | } | ||
100 | |||
96 | public override PhysicsActor AddAvatar(string avName, PhysicsVector position, PhysicsVector size) | 101 | public override PhysicsActor AddAvatar(string avName, PhysicsVector position, PhysicsVector size) |
97 | { | 102 | { |
98 | Vec3 pos = new Vec3(); | 103 | Vec3 pos = new Vec3(); |
@@ -242,6 +247,12 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
242 | set { return; } | 247 | set { return; } |
243 | } | 248 | } |
244 | 249 | ||
250 | public override float Buoyancy | ||
251 | { | ||
252 | get { return 0f; } | ||
253 | set { return; } | ||
254 | } | ||
255 | |||
245 | public override bool IsPhysical | 256 | public override bool IsPhysical |
246 | { | 257 | { |
247 | get { return false; } | 258 | get { return false; } |
@@ -467,6 +478,12 @@ namespace OpenSim.Region.Physics.PhysXPlugin | |||
467 | set { return; } | 478 | set { return; } |
468 | } | 479 | } |
469 | 480 | ||
481 | public override float Buoyancy | ||
482 | { | ||
483 | get { return 0f; } | ||
484 | set { return; } | ||
485 | } | ||
486 | |||
470 | public override bool ThrottleUpdates | 487 | public override bool ThrottleUpdates |
471 | { | 488 | { |
472 | get { return false; } | 489 | get { return false; } |