aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-10 05:23:43 +0000
committerTeravus Ovares2008-03-10 05:23:43 +0000
commit8bea3dbdb91dfb465338572e3dfb40a5adfb9bab (patch)
treed941528dbb7e5faba74037dfbc03a2edacede342 /OpenSim/Region/Environment/Scenes
parent* Fixed a few things and enabling Physical Prim border crossings again. (diff)
downloadopensim-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/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index b7b7883..a8f08ec 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -934,6 +934,14 @@ namespace OpenSim.Region.Environment.Scenes
934 m_sitTargetOrientation = orientation; 934 m_sitTargetOrientation = orientation;
935 } 935 }
936 936
937 public void SetBuoyancy(float fvalue)
938 {
939 if (PhysActor != null)
940 {
941 PhysActor.Buoyancy = fvalue;
942 }
943 }
944
937 public LLVector3 GetSitTargetPositionLL() 945 public LLVector3 GetSitTargetPositionLL()
938 { 946 {
939 return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y, m_sitTargetPosition.z); 947 return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y, m_sitTargetPosition.z);