aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-15 21:35:52 +0000
committerTeravus Ovares2008-02-15 21:35:52 +0000
commitbe6edefcfb6574c1d011809315bfc464c479844c (patch)
tree23140c1fc6e72f20289c3ea975b9b70aa8277662 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
parentResolve mantis #572 - terrain help printed multiple times when change-region ... (diff)
downloadopensim-SC_OLD-be6edefcfb6574c1d011809315bfc464c479844c.zip
opensim-SC_OLD-be6edefcfb6574c1d011809315bfc464c479844c.tar.gz
opensim-SC_OLD-be6edefcfb6574c1d011809315bfc464c479844c.tar.bz2
opensim-SC_OLD-be6edefcfb6574c1d011809315bfc464c479844c.tar.xz
* ODE Stability update 4 :D
* Changed the way meshing requests get sent to the ODEPlugin * Numerous other fixes
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODECharacter.cs9
1 files changed, 7 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
index a6acdeb..6b8d0e2 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODECharacter.cs
@@ -508,7 +508,12 @@ namespace OpenSim.Region.Physics.OdePlugin
508 508
509 public override PhysicsVector Velocity 509 public override PhysicsVector Velocity
510 { 510 {
511 get { return _velocity; } 511 get {
512 if (_zeroFlag)
513 return PhysicsVector.Zero;
514 m_lastUpdateSent = false;
515 return _velocity;
516 }
512 set 517 set
513 { 518 {
514 m_pidControllerActive = true; 519 m_pidControllerActive = true;
@@ -612,7 +617,7 @@ namespace OpenSim.Region.Physics.OdePlugin
612 _zeroPosition = d.BodyGetPosition(Body); 617 _zeroPosition = d.BodyGetPosition(Body);
613 } 618 }
614 //PidStatus = true; 619 //PidStatus = true;
615 620
616 PhysicsVector vec = new PhysicsVector(); 621 PhysicsVector vec = new PhysicsVector();
617 d.Vector3 vel = d.BodyGetLinearVel(Body); 622 d.Vector3 vel = d.BodyGetLinearVel(Body);
618 float movementdivisor = 1f; 623 float movementdivisor = 1f;