aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);