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/Physics/OdePlugin/ODECharacter.cs | |
parent | * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim. (diff) | |
download | opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.zip opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.tar.gz opensim-SC_OLD-d0123a796b0066a50914c6fae5d86550dcf58636.tar.bz2 opensim-SC_OLD-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/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index 7047ec1..9bbbb22 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -185,6 +185,11 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
185 | set { m_buoyancy = value; } | 185 | set { m_buoyancy = value; } |
186 | } | 186 | } |
187 | 187 | ||
188 | public override bool FloatOnWater | ||
189 | { | ||
190 | set { return; } | ||
191 | } | ||
192 | |||
188 | public override bool IsPhysical | 193 | public override bool IsPhysical |
189 | { | 194 | { |
190 | get { return false; } | 195 | get { return false; } |