* 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

@@ -412,6 +412,12 @@ namespace OpenSim.Region.Physics.BulletXPlugin
{
}
public override void SetWaterLevel(float baseheight)
{
}
public override PhysicsActor AddAvatar(string avName, PhysicsVector position, PhysicsVector size)
{
PhysicsVector pos = new PhysicsVector();
@@ -918,6 +924,12 @@ namespace OpenSim.Region.Physics.BulletXPlugin
set { return; }
}
public override float Buoyancy
{
get { return 0f; }
set { return; }
}
public virtual void SetAcceleration(PhysicsVector accel)
{
lock (BulletXScene.BulletXLock)