diff options
author | Teravus Ovares | 2008-03-10 05:56:58 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-10 05:56:58 +0000 |
commit | d0123a796b0066a50914c6fae5d86550dcf58636 (patch) | |
tree | 5e7a5091afffc219c96c7649c4b2535215faf8e5 /OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |
parent | * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim. (diff) | |
download | opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.zip opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.tar.gz opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.tar.bz2 opensim-SC-d0123a796b0066a50914c6fae5d86550dcf58636.tar.xz |
ODEPlugin
* Added osSetPrimFloatOnWater(BOOL) to make Physical prim float at the water level.
* osSetPrimFloatOnWater(TRUE); or osSetPrimFloatOnWater(FALSE);
* By default, prim do not float at the water level.
* More work is needed on the floating, but it's a start.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 79a106b..05a1a1d 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -1897,6 +1897,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1897 | m_LSL_Functions.osSetParcelMediaURL(url); | 1897 | m_LSL_Functions.osSetParcelMediaURL(url); |
1898 | } | 1898 | } |
1899 | 1899 | ||
1900 | public void osSetPrimFloatOnWater(int floatYN) | ||
1901 | { | ||
1902 | m_LSL_Functions.osSetPrimFloatOnWater(floatYN); | ||
1903 | } | ||
1904 | |||
1900 | public double llList2Float(LSL_Types.list src, int index) | 1905 | public double llList2Float(LSL_Types.list src, int index) |
1901 | { | 1906 | { |
1902 | return m_LSL_Functions.llList2Float(src, index); | 1907 | return m_LSL_Functions.llList2Float(src, index); |