It seems hippo disregards velocities in full updates, so also send a terse update when an agent sits to avoid drifting off

avinationmerge
meta7 2010-08-07 11:06:07 -07:00
parent 19debab060
commit 413b0525db
1 changed files with 4328 additions and 4328 deletions

View File

@ -2442,9 +2442,9 @@ Console.WriteLine("Scripted Sit ofset {0}", m_pos);
Velocity = Vector3.Zero;
RemoveFromPhysicalScene();
Animator.TrySetMovementAnimation(sitAnimation);
SendFullUpdateToAllClients();
SendTerseUpdateToAllClients();
}
public void SitAltitudeCallback(bool hitYN, Vector3 collisionPoint, uint localid, float distance, Vector3 normal)