diff options
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs index e19d589..b8af77d 100644 --- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |||
@@ -825,10 +825,12 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
825 | m_pidControllerActive = false; | 825 | m_pidControllerActive = false; |
826 | force *= 100f; | 826 | force *= 100f; |
827 | doForce(force); | 827 | doForce(force); |
828 | m_log.Debug("Push!"); | 828 | // If uncommented, things get pushed off world |
829 | _target_velocity.X += force.X; | 829 | // |
830 | _target_velocity.Y += force.Y; | 830 | // m_log.Debug("Push!"); |
831 | _target_velocity.Z += force.Z; | 831 | // _target_velocity.X += force.X; |
832 | // _target_velocity.Y += force.Y; | ||
833 | // _target_velocity.Z += force.Z; | ||
832 | } | 834 | } |
833 | else | 835 | else |
834 | { | 836 | { |