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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user