From 9f2fb5ba7048c5a9c234d3437e0b11c4970f9422 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 26 Dec 2007 22:26:45 +0000 Subject: [PATCH] * Play the 'landing' animation when landing and minimize the collision protection offset so the animations match up. --- OpenSim/Region/Environment/Scenes/ScenePresence.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 03f1a70ea7..4b8ca97606 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs @@ -540,7 +540,8 @@ namespace OpenSim.Region.Environment.Scenes // Add 1/2 the avatar's height to it's position so it doesn't shoot into the air // when the avatar stands up - AbsolutePosition = AbsolutePosition + new LLVector3(0, 0, (m_avHeight/2)); + AbsolutePosition = AbsolutePosition + new LLVector3(0, 0, (m_avHeight/6)); + SetMovementAnimation(Animations.AnimsLLUUID["LAND"], 2); SendFullUpdateToAllClients(); }