mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 12:25:42 +08:00
* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
* Added WaterLevel support to the ODEPlugin. More on this later.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user