aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/Manager/PhysicsActor.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-03-10 05:23:43 +0000
committerTeravus Ovares2008-03-10 05:23:43 +0000
commit8bea3dbdb91dfb465338572e3dfb40a5adfb9bab (patch)
treed941528dbb7e5faba74037dfbc03a2edacede342 /OpenSim/Region/Physics/Manager/PhysicsActor.cs
parent* Fixed a few things and enabling Physical Prim border crossings again. (diff)
downloadopensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.zip
opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.gz
opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.bz2
opensim-SC-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.xz
* Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim.
* Added WaterLevel support to the ODEPlugin. More on this later.
Diffstat (limited to 'OpenSim/Region/Physics/Manager/PhysicsActor.cs')
-rw-r--r--OpenSim/Region/Physics/Manager/PhysicsActor.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
index e31a08d..82b7450 100644
--- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs
+++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs
@@ -208,6 +208,8 @@ namespace OpenSim.Region.Physics.Manager
208 208
209 public abstract bool Kinematic { get; set; } 209 public abstract bool Kinematic { get; set; }
210 210
211 public abstract float Buoyancy { get; set; }
212
211 public abstract void AddForce(PhysicsVector force); 213 public abstract void AddForce(PhysicsVector force);
212 214
213 public abstract void SetMomentum(PhysicsVector momentum); 215 public abstract void SetMomentum(PhysicsVector momentum);
@@ -249,6 +251,10 @@ namespace OpenSim.Region.Physics.Manager
249 set { return; } 251 set { return; }
250 } 252 }
251 253
254 public override float Buoyancy {
255 get { return 0f; }
256 set { return; }
257 }
252 258
253 public override bool CollidingGround 259 public override bool CollidingGround
254 { 260 {