diff options
author | Teravus Ovares | 2008-02-15 21:35:52 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-15 21:35:52 +0000 |
commit | be6edefcfb6574c1d011809315bfc464c479844c (patch) | |
tree | 23140c1fc6e72f20289c3ea975b9b70aa8277662 /OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | |
parent | Resolve mantis #572 - terrain help printed multiple times when change-region ... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/Physics/OdePlugin/ODECharacter.cs | 9 |
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; |