diff options
author | Charles Krinke | 2009-03-06 23:01:35 +0000 |
---|---|---|
committer | Charles Krinke | 2009-03-06 23:01:35 +0000 |
commit | b637a11b58292cb6165317b317dc077a79ee6779 (patch) | |
tree | 18d9b2e82ae782fec726f3baa2d60c76433a7406 /OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |
parent | add back .config files for all tests in an attempt to debug why these (diff) | |
download | opensim-SC-b637a11b58292cb6165317b317dc077a79ee6779.zip opensim-SC-b637a11b58292cb6165317b317dc077a79ee6779.tar.gz opensim-SC-b637a11b58292cb6165317b317dc077a79ee6779.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs index 3081077..284837b 100644 --- a/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs +++ b/OpenSim/Region/Physics/BasicPhysicsPlugin/BasicPhysicsPlugin.cs | |||
@@ -447,9 +447,17 @@ namespace OpenSim.Region.Physics.BasicPhysicsPlugin | |||
447 | public override void CrossingFailure() | 447 | public override void CrossingFailure() |
448 | { | 448 | { |
449 | } | 449 | } |
450 | |||
450 | public override PhysicsVector PIDTarget { set { return; } } | 451 | public override PhysicsVector PIDTarget { set { return; } } |
451 | public override bool PIDActive { set { return; } } | 452 | public override bool PIDActive { set { return; } } |
452 | public override float PIDTau { set { return; } } | 453 | public override float PIDTau { set { return; } } |
454 | |||
455 | public override float PIDHoverHeight { set { return; } } | ||
456 | public override bool PIDHoverActive { set { return; } } | ||
457 | public override PIDHoverType PIDHoverType { set { return; } } | ||
458 | public override float PIDHoverTau { set { return; } } | ||
459 | |||
460 | |||
453 | public override void SubscribeEvents(int ms) | 461 | public override void SubscribeEvents(int ms) |
454 | { | 462 | { |
455 | 463 | ||