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.0.6.0-stable
parent
1a06045c98
commit
d8a6971a35
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue