mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 11:33:28 +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:
@@ -208,6 +208,8 @@ namespace OpenSim.Region.Physics.Manager
|
||||
|
||||
public abstract bool Kinematic { get; set; }
|
||||
|
||||
public abstract float Buoyancy { get; set; }
|
||||
|
||||
public abstract void AddForce(PhysicsVector force);
|
||||
|
||||
public abstract void SetMomentum(PhysicsVector momentum);
|
||||
@@ -249,6 +251,10 @@ namespace OpenSim.Region.Physics.Manager
|
||||
set { return; }
|
||||
}
|
||||
|
||||
public override float Buoyancy {
|
||||
get { return 0f; }
|
||||
set { return; }
|
||||
}
|
||||
|
||||
public override bool CollidingGround
|
||||
{
|
||||
|
||||
@@ -79,6 +79,8 @@ namespace OpenSim.Region.Physics.Manager
|
||||
|
||||
public abstract void SetTerrain(float[] heightMap);
|
||||
|
||||
public abstract void SetWaterLevel(float baseheight);
|
||||
|
||||
public abstract void DeleteTerrain();
|
||||
|
||||
public abstract void Dispose();
|
||||
@@ -108,6 +110,10 @@ namespace OpenSim.Region.Physics.Manager
|
||||
public override void RemovePrim(PhysicsActor prim)
|
||||
{
|
||||
}
|
||||
public override void SetWaterLevel(float baseheight)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
public override PhysicsActor AddPrim(PhysicsVector position, PhysicsVector size, Quaternion rotation)
|
||||
|
||||
Reference in New Issue
Block a user