diff options
author | Robert Adams | 2016-01-19 22:09:51 -0800 |
---|---|---|
committer | Robert Adams | 2016-01-19 22:09:51 -0800 |
commit | 33af41905021e6ab2e51873a75b585044e445974 (patch) | |
tree | 6c3e49224c90867c590cdfb93b3f2240c76ca717 /OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs | |
parent | BulletSim: add stationary suppression on AddForce application. This enables (diff) | |
download | opensim-SC_OLD-33af41905021e6ab2e51873a75b585044e445974.zip opensim-SC_OLD-33af41905021e6ab2e51873a75b585044e445974.tar.gz opensim-SC_OLD-33af41905021e6ab2e51873a75b585044e445974.tar.bz2 opensim-SC_OLD-33af41905021e6ab2e51873a75b585044e445974.tar.xz |
BulletSim: make collision sounds work most of the time. Seems that collisions
usually stop the collider so velocity is often small.
Also remove some chatty debug messages.
Diffstat (limited to 'OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs')
-rw-r--r-- | OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs index 4b75e32..6d5589f 100644 --- a/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSCharacter.cs | |||
@@ -89,6 +89,7 @@ public sealed class BSCharacter : BSPhysObject | |||
89 | _buoyancy = ComputeBuoyancyFromFlying(isFlying); | 89 | _buoyancy = ComputeBuoyancyFromFlying(isFlying); |
90 | Friction = BSParam.AvatarStandingFriction; | 90 | Friction = BSParam.AvatarStandingFriction; |
91 | Density = BSParam.AvatarDensity; | 91 | Density = BSParam.AvatarDensity; |
92 | _isPhysical = true; | ||
92 | 93 | ||
93 | // Old versions of ScenePresence passed only the height. If width and/or depth are zero, | 94 | // Old versions of ScenePresence passed only the height. If width and/or depth are zero, |
94 | // replace with the default values. | 95 | // replace with the default values. |