aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-18 11:39:24 -0800
committerRobert Adams2013-01-18 11:39:24 -0800
commitc6b6c94ccbbbd5226a377a510a988bedec7a418c (patch)
tree7abde96ff752d5e10dcbbe47ed6f6df63e75e643 /OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
parentBulletSim: add logic to turn off pre-step actions when object goes (diff)
downloadopensim-SC_OLD-c6b6c94ccbbbd5226a377a510a988bedec7a418c.zip
opensim-SC_OLD-c6b6c94ccbbbd5226a377a510a988bedec7a418c.tar.gz
opensim-SC_OLD-c6b6c94ccbbbd5226a377a510a988bedec7a418c.tar.bz2
opensim-SC_OLD-c6b6c94ccbbbd5226a377a510a988bedec7a418c.tar.xz
BulletSim: reduce jitter in avatar velocity when walking or flying.
OpenSimulator is VERY sensitive to changes in avatar velocity and will send an avatar update message when velocity changes more than 0.001m/s. This significantly reduces the number of avatar update messages by smoothing the avatar velocity returned by Bullet.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
index bac0427..5353c75 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPhysObject.cs
@@ -141,7 +141,7 @@ public abstract class BSPhysObject : PhysicsActor
141 141
142 // It can be confusing for an actor to know if it should move or update an object 142 // It can be confusing for an actor to know if it should move or update an object
143 // depeneding on the setting of 'selected', 'physical, ... 143 // depeneding on the setting of 'selected', 'physical, ...
144 // This flag is the true test -- if true, the object is being acted on in the physical world 144 // This flag is the true test -- if true, the object is being acted on in the physical world
145 public abstract bool IsPhysicallyActive { get; } 145 public abstract bool IsPhysicallyActive { get; }
146 146
147 // Materialness 147 // Materialness