From 8bea3dbdb91dfb465338572e3dfb40a5adfb9bab Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Mon, 10 Mar 2008 05:23:43 +0000 Subject: * Added ODEPlugin Support for llSetBuoyancy. Set Buoyancy to 1 for space prim. * Added WaterLevel support to the ODEPlugin. More on this later. --- OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs') diff --git a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs index 0c42260..b03da31 100644 --- a/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs +++ b/OpenSim/Region/Physics/PhysXPlugin/PhysXPlugin.cs @@ -93,6 +93,11 @@ namespace OpenSim.Region.Physics.PhysXPlugin } + public override void SetWaterLevel(float baseheight) + { + + } + public override PhysicsActor AddAvatar(string avName, PhysicsVector position, PhysicsVector size) { Vec3 pos = new Vec3(); @@ -242,6 +247,12 @@ namespace OpenSim.Region.Physics.PhysXPlugin set { return; } } + public override float Buoyancy + { + get { return 0f; } + set { return; } + } + public override bool IsPhysical { get { return false; } @@ -467,6 +478,12 @@ namespace OpenSim.Region.Physics.PhysXPlugin set { return; } } + public override float Buoyancy + { + get { return 0f; } + set { return; } + } + public override bool ThrottleUpdates { get { return false; } -- cgit v1.1