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/POSPlugin/POSPlugin.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 '')
-rw-r--r-- | OpenSim/Region/Physics/POSPlugin/POSPlugin.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs b/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs index ac63a12..dd2c0dd 100644 --- a/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs +++ b/OpenSim/Region/Physics/POSPlugin/POSPlugin.cs | |||
@@ -89,6 +89,11 @@ namespace OpenSim.Region.Physics.POSPlugin | |||
89 | return act; | 89 | return act; |
90 | } | 90 | } |
91 | 91 | ||
92 | public override void SetWaterLevel(float baseheight) | ||
93 | { | ||
94 | |||
95 | } | ||
96 | |||
92 | public override void RemovePrim(PhysicsActor prim) | 97 | public override void RemovePrim(PhysicsActor prim) |
93 | { | 98 | { |
94 | POSPrim p = (POSPrim) prim; | 99 | POSPrim p = (POSPrim) prim; |
@@ -372,6 +377,12 @@ namespace OpenSim.Region.Physics.POSPlugin | |||
372 | set { return; } | 377 | set { return; } |
373 | } | 378 | } |
374 | 379 | ||
380 | public override float Buoyancy | ||
381 | { | ||
382 | get { return 0f; } | ||
383 | set { return; } | ||
384 | } | ||
385 | |||
375 | public override bool IsPhysical | 386 | public override bool IsPhysical |
376 | { | 387 | { |
377 | get { return false; } | 388 | get { return false; } |
@@ -605,6 +616,12 @@ namespace OpenSim.Region.Physics.POSPlugin | |||
605 | set { return; } | 616 | set { return; } |
606 | } | 617 | } |
607 | 618 | ||
619 | public override float Buoyancy | ||
620 | { | ||
621 | get { return 0f; } | ||
622 | set { return; } | ||
623 | } | ||
624 | |||
608 | public override PhysicsVector Velocity | 625 | public override PhysicsVector Velocity |
609 | { | 626 | { |
610 | get { return _velocity; } | 627 | get { return _velocity; } |