diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 6988718..0c3b404 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -3243,6 +3243,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
3243 | STATUS_ROTATE_Z = rotate; | 3243 | STATUS_ROTATE_Z = rotate; |
3244 | } | 3244 | } |
3245 | 3245 | ||
3246 | public void SetBuoyancy(float fvalue) | ||
3247 | { | ||
3248 | if (PhysActor != null) | ||
3249 | { | ||
3250 | PhysActor.Buoyancy = fvalue; | ||
3251 | } | ||
3252 | } | ||
3253 | |||
3246 | public void SetDieAtEdge(bool p) | 3254 | public void SetDieAtEdge(bool p) |
3247 | { | 3255 | { |
3248 | if (m_parentGroup.IsDeleted) | 3256 | if (m_parentGroup.IsDeleted) |