* 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:
Teravus Ovares
2008-03-10 05:23:43 +00:00
parent 8bba8e232c
commit 8bea3dbdb9
13 changed files with 259 additions and 12 deletions

View File

@@ -934,6 +934,14 @@ namespace OpenSim.Region.Environment.Scenes
m_sitTargetOrientation = orientation;
}
public void SetBuoyancy(float fvalue)
{
if (PhysActor != null)
{
PhysActor.Buoyancy = fvalue;
}
}
public LLVector3 GetSitTargetPositionLL()
{
return new LLVector3(m_sitTargetPosition.x, m_sitTargetPosition.y, m_sitTargetPosition.z);