From 9f2fb5ba7048c5a9c234d3437e0b11c4970f9422 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 26 Dec 2007 22:26:45 +0000 Subject: * 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(-) (limited to 'OpenSim/Region/Environment/Scenes') diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 03f1a70..4b8ca97 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(); } -- cgit v1.1