Thank you kindly, Mircea Kitsune for a patch that solves:

When the avatar stops flying in mid air, it stays still 
while it falls to the ground. Normally, the avatar would 
use the falling animation (when it spins its arms and legs 
while falling) until it reaches the ground.
This commit is contained in:
Charles Krinke
2008-10-28 14:57:31 +00:00
parent 1a06045c98
commit d8a6971a35

View File

@@ -1521,7 +1521,7 @@ namespace OpenSim.Region.Environment.Scenes
return "CROUCH";
}
}
else if (PhysicsActor != null && !PhysicsActor.IsColliding && PhysicsActor.Velocity.Z < -6)
else if (PhysicsActor != null && !PhysicsActor.IsColliding && PhysicsActor.Velocity.Z < -2)
{
return "FALLDOWN";
}
@@ -1542,7 +1542,7 @@ namespace OpenSim.Region.Environment.Scenes
else
{
// We are not moving
if (PhysicsActor != null && !PhysicsActor.IsColliding && PhysicsActor.Velocity.Z < -6 && !PhysicsActor.Flying)
if (PhysicsActor != null && !PhysicsActor.IsColliding && PhysicsActor.Velocity.Z < -2 && !PhysicsActor.Flying)
{
return "FALLDOWN";
}