It seems hippo disregards velocities in full updates, so also send a terse update when an agent sits to avoid drifting off
parent
19debab060
commit
413b0525db
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue