aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index a8f08ec..6ed63be 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -942,6 +942,22 @@ namespace OpenSim.Region.Environment.Scenes
942 } 942 }
943 } 943 }
944 944
945 public void SetFloatOnWater(int floatYN)
946 {
947 if (PhysActor != null)
948 {
949 if (floatYN == 1)
950 {
951 PhysActor.FloatOnWater = true;
952 }
953 else
954 {
955 PhysActor.FloatOnWater = false;
956 }
957
958 }
959 }
960
945 public LLVector3 GetSitTargetPositionLL() 961 public LLVector3 GetSitTargetPositionLL()
946 { 962 {
947 return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y, m_sitTargetPosition.z); 963 return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y, m_sitTargetPosition.z);