aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/PhysXPlugin
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-10 05:56:58 +0000
committerTeravus Ovares2008-03-10 05:56:58 +0000
commitd0123a796b0066a50914c6fae5d86550dcf58636 (patch)
tree5e7a5091afffc219c96c7649c4b2535215faf8e5 /OpenSim/Region/Physics/PhysXPlugin
parent* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim. (diff)
downloadopensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.zip
opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.tar.gz
opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.tar.bz2
opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.tar.xz
ODEPlugin
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level. * osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE); * By default, prim do not float at the water level. * More work is needed on the floating, but it's a start.
Diffstat (limited to 'OpenSim/Region/Physics/PhysXPlugin')
-rw-r--r--OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
index b03da31..910b2d2 100644
--- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
+++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs
@@ -253,6 +253,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin
253 set { return; } 253 set { return; }
254 } 254 }
255 255
256 public override bool FloatOnWater
257 {
258 set { return; }
259 }
260
256 public override bool IsPhysical 261 public override bool IsPhysical
257 { 262 {
258 get { return false; } 263 get { return false; }
@@ -484,6 +489,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin
484 set { return; } 489 set { return; }
485 } 490 }
486 491
492 public override bool FloatOnWater
493 {
494 set { return; }
495 }
496
487 public override bool ThrottleUpdates 497 public override bool ThrottleUpdates
488 { 498 {
489 get { return false; } 499 get { return false; }