From 8bea3dbdb91dfb465338572e3dfb40a5adfb9bab Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 10 Mar 2008 05:23:43 +0000 Subject: * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim. * Added WaterLevel support to the ODEPlugin. More on this later. --- OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs') 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 private bool m_hackSentFly = false; public uint m_localID = 0; + private float m_buoyancy = 0f; + private CollisionLocker ode; private string m_name = String.Empty; @@ -177,6 +179,11 @@ namespace OpenSim.Region.Physics.OdePlugin set { return; } } + public override float Buoyancy + { + get { return m_buoyancy; } + set { m_buoyancy = value; } + } public override bool IsPhysical { -- cgit v1.1