aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
index 478aeab..696c4bd 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSCharacter.cs
@@ -198,7 +198,8 @@ public sealed class BSCharacter : BSPhysObject
198 // TODO: Decide if the step parameters should be changed depending on the avatar's 198 // TODO: Decide if the step parameters should be changed depending on the avatar's
199 // state (flying, colliding, ...). There is code in ODE to do this. 199 // state (flying, colliding, ...). There is code in ODE to do this.
200 200
201 OMV.Vector3 stepVelocity = _velocityMotor.Step(timeStep); 201 _velocityMotor.Step(timeStep);
202 OMV.Vector3 stepVelocity = _velocityMotor.CurrentValue;
202 203
203 // If falling, we keep the world's downward vector no matter what the other axis specify. 204 // If falling, we keep the world's downward vector no matter what the other axis specify.
204 if (!Flying && !IsColliding) 205 if (!Flying && !IsColliding)