aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-10 05:23:43 +0000
committerTeravus Ovares2008-03-10 05:23:43 +0000
commit8bea3dbdb91dfb465338572e3dfb40a5adfb9bab (patch)
treed941528dbb7e5faba74037dfbc03a2edacede342 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
parent* Fixed a few things and enabling Physical Prim border crossings again. (diff)
downloadopensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.zip
opensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.gz
opensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.bz2
opensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.xz
* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
* Added WaterLevel support to the ODEPlugin. More on this later.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index b5263a6..7047ec1 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -87,6 +87,8 @@ namespace OpenSim.Region.Physics.OdePlugin
87 private bool m_hackSentFly = false; 87 private bool m_hackSentFly = false;
88 public uint m_localID = 0; 88 public uint m_localID = 0;
89 89
90 private float m_buoyancy = 0f;
91
90 private CollisionLocker ode; 92 private CollisionLocker ode;
91 93
92 private string m_name = String.Empty; 94 private string m_name = String.Empty;
@@ -177,6 +179,11 @@ namespace OpenSim.Region.Physics.OdePlugin
177 set { return; } 179 set { return; }
178 } 180 }
179 181
182 public override float Buoyancy
183 {
184 get { return m_buoyancy; }
185 set { m_buoyancy = value; }
186 }
180 187
181 public override bool IsPhysical 188 public override bool IsPhysical
182 { 189 {