diff options
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index f4aa231..6ffcb9e 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | |||
@@ -686,6 +686,9 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
686 | 686 | ||
687 | Body = d.BodyCreate(_parent_scene.world); | 687 | Body = d.BodyCreate(_parent_scene.world); |
688 | 688 | ||
689 | _zeroFlag = false; | ||
690 | m_pidControllerActive = true; | ||
691 | |||
689 | d.BodySetAutoDisableFlag(Body, false); | 692 | d.BodySetAutoDisableFlag(Body, false); |
690 | d.BodySetPosition(Body, npositionX, npositionY, npositionZ); | 693 | d.BodySetPosition(Body, npositionX, npositionY, npositionZ); |
691 | 694 | ||