* Mostly ODE update. Things are a bit more behaved then the last experimental update.

This commit is contained in:
Teravus Ovares
2008-01-28 03:25:02 +00:00
parent 205001ab8d
commit 5e36feada2
3 changed files with 47 additions and 11 deletions

View File

@@ -812,7 +812,10 @@ namespace OpenSim.Region.Environment.Scenes
}
if (m_physicsActor == null)
{
AddToPhysicalScene();
}
m_pos += m_parentPosition + new LLVector3(0.0f, 0.0f, 2.0f*m_sitAvatarHeight);
m_parentPosition = new LLVector3();
@@ -820,6 +823,12 @@ namespace OpenSim.Region.Environment.Scenes
m_parentID = 0;
SendFullUpdateToAllClients();
if (m_physicsActor != null)
{
SetHeight(m_avHeight);
}
}
SetMovementAnimation(Animations.AnimsLLUUID["STAND"], 1);