diff options
author | Teravus Ovares | 2008-03-10 05:23:43 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-03-10 05:23:43 +0000 |
commit | 8bea3dbdb91dfb465338572e3dfb40a5adfb9bab (patch) | |
tree | d941528dbb7e5faba74037dfbc03a2edacede342 /OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |
parent | * Fixed a few things and enabling Physical Prim border crossings again. (diff) | |
download | opensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.zip opensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.gz opensim-SC_OLD-8bea3dbdb91dfb465338572e3dfb40a5adfb9bab.tar.bz2 opensim-SC_OLD-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/BulletXPlugin/BulletXPlugin.cs')
-rw-r--r-- | OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs index 12e2ea2..feb9ca1 100644 --- a/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs +++ b/OpenSim/Region/Physics/BulletXPlugin/BulletXPlugin.cs | |||
@@ -412,6 +412,12 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
412 | { | 412 | { |
413 | 413 | ||
414 | } | 414 | } |
415 | |||
416 | public override void SetWaterLevel(float baseheight) | ||
417 | { | ||
418 | |||
419 | } | ||
420 | |||
415 | public override PhysicsActor AddAvatar(string avName, PhysicsVector position, PhysicsVector size) | 421 | public override PhysicsActor AddAvatar(string avName, PhysicsVector position, PhysicsVector size) |
416 | { | 422 | { |
417 | PhysicsVector pos = new PhysicsVector(); | 423 | PhysicsVector pos = new PhysicsVector(); |
@@ -918,6 +924,12 @@ namespace OpenSim.Region.Physics.BulletXPlugin | |||
918 | set { return; } | 924 | set { return; } |
919 | } | 925 | } |
920 | 926 | ||
927 | public override float Buoyancy | ||
928 | { | ||
929 | get { return 0f; } | ||
930 | set { return; } | ||
931 | } | ||
932 | |||
921 | public virtual void SetAcceleration(PhysicsVector accel) | 933 | public virtual void SetAcceleration(PhysicsVector accel) |
922 | { | 934 | { |
923 | lock (BulletXScene.BulletXLock) | 935 | lock (BulletXScene.BulletXLock) |