aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
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/POSPlugin/POSPlugin.cs
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 '')
-rw-r--r--OpenSim/Region/Physics/POSPlugin/POSPlugin.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs b/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
index dd2c0dd..d6c8202 100644
--- a/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
+++ b/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs
@@ -383,6 +383,11 @@ namespace OpenSim.Region.Physics.POSPlugin
383 set { return; } 383 set { return; }
384 } 384 }
385 385
386 public override bool FloatOnWater
387 {
388 set { return; }
389 }
390
386 public override bool IsPhysical 391 public override bool IsPhysical
387 { 392 {
388 get { return false; } 393 get { return false; }
@@ -622,6 +627,11 @@ namespace OpenSim.Region.Physics.POSPlugin
622 set { return; } 627 set { return; }
623 } 628 }
624 629
630 public override bool FloatOnWater
631 {
632 set { return; }
633 }
634
625 public override PhysicsVector Velocity 635 public override PhysicsVector Velocity
626 { 636 {
627 get { return _velocity; } 637 get { return _velocity; }