From 91f3be71e3fb23d554a73a7670b9198269debe6a Mon Sep 17 00:00:00 2001 From: "Justin Clark-Casey (justincc)" Date: Fri, 8 Aug 2014 23:39:40 +0100 Subject: [PATCH] Reduce default rotation AgentUpdate output sensitivity to a setting that cuts down UDP traffic without obvious adverse effects on observed avatar rotations. Experimentally, on the Linden Lab grid the avatar can rotate slightly before triggering AvatarUpdates, whereas this is practically impossible in OpenSimulator. These updates allow other avatars to see rotations, though sensitivity is low since other avatars can only be seen in one of 8 body rotations. This commit changes sensitivity from 0.01 to 0.1, which better matches LL and reduces UDP traffic which has a beneficial impact on network and CPU load. This has no impact on rotations in the simulator itself so simulation fidelity is the same as before. To change this setting back for test/other purposes, edit RootRotationUpdateTolerance in the [InterestManagement] section of OpenSim.ini --- bin/OpenSimDefaults.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index 1b697bb758..069d238510 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -1742,7 +1742,7 @@ RootPositionUpdateTolerance = 0.05 ; Send an update to clients if the euclidian difference from the last sent avatar rotation is greater than this tolerance - RootRotationUpdateTolerance = 0.01 + RootRotationUpdateTolerance = 0.1 ; Send an update to clients if the difference from the last sent avatar velocity is greater than this tolerance RootVelocityUpdateTolerance = 0.001