aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorCharles Krinke2009-03-06 23:01:35 +0000
committerCharles Krinke2009-03-06 23:01:35 +0000
commitb637a11b58292cb6165317b317dc077a79ee6779 (patch)
tree18d9b2e82ae782fec726f3baa2d60c76433a7406 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
parentadd back .config files for all tests in an attempt to debug why these (diff)
downloadopensim-SC_OLD-b637a11b58292cb6165317b317dc077a79ee6779.zip
opensim-SC_OLD-b637a11b58292cb6165317b317dc077a79ee6779.tar.gz
opensim-SC_OLD-b637a11b58292cb6165317b317dc077a79ee6779.tar.bz2
opensim-SC_OLD-b637a11b58292cb6165317b317dc077a79ee6779.tar.xz
Fixes Mantis #3260. Thank you kindly, MCortez for a patch that:
llSetHoverHeight() should not clamp the x/y position of an object the way MoveTo does, and it should recalculate the absolute height to hover at as an object moves to reflect the current ground/water height under it. Correctly implementing required adjusting the Physics interfaces and implementing at the physics plug-in level. The attached is a patch that correctly implements llSetHoverHeight() including updates to the ODE physics plug-in.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index 9991ab1..a62409c 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -922,9 +922,16 @@ namespace OpenSim.Region.Physics.OdePlugin
922 public override void CrossingFailure() 922 public override void CrossingFailure()
923 { 923 {
924 } 924 }
925
925 public override PhysicsVector PIDTarget { set { return; } } 926 public override PhysicsVector PIDTarget { set { return; } }
926 public override bool PIDActive { set { return; } } 927 public override bool PIDActive { set { return; } }
927 public override float PIDTau { set { return; } } 928 public override float PIDTau { set { return; } }
929
930 public override float PIDHoverHeight { set { return; } }
931 public override bool PIDHoverActive { set { return; } }
932 public override PIDHoverType PIDHoverType { set { return; } }
933 public override float PIDHoverTau { set { return; } }
934
928 public override void SubscribeEvents(int ms) 935 public override void SubscribeEvents(int ms)
929 { 936 {
930 m_eventsubscription = ms; 937 m_eventsubscription = ms;