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/BSActorAvatarMove.cs | |
parent | BulletSim: add stationary suppression on AddForce application. This enables (diff) | |
download | opensim-SC-33af41905021e6ab2e51873a75b585044e445974.zip opensim-SC-33af41905021e6ab2e51873a75b585044e445974.tar.gz opensim-SC-33af41905021e6ab2e51873a75b585044e445974.tar.bz2 opensim-SC-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/BSActorAvatarMove.cs')
-rwxr-xr-x | OpenSim/Region/PhysicsModules/BulletS/BSActorAvatarMove.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/BulletS/BSActorAvatarMove.cs b/OpenSim/Region/PhysicsModules/BulletS/BSActorAvatarMove.cs index 35823ae..79ee00f 100755 --- a/OpenSim/Region/PhysicsModules/BulletS/BSActorAvatarMove.cs +++ b/OpenSim/Region/PhysicsModules/BulletS/BSActorAvatarMove.cs | |||
@@ -140,7 +140,7 @@ public class BSActorAvatarMove : BSActor | |||
140 | 1f // efficiency | 140 | 1f // efficiency |
141 | ); | 141 | ); |
142 | m_velocityMotor.ErrorZeroThreshold = BSParam.AvatarStopZeroThreshold; | 142 | m_velocityMotor.ErrorZeroThreshold = BSParam.AvatarStopZeroThreshold; |
143 | m_velocityMotor.PhysicsScene = m_controllingPrim.PhysScene; // DEBUG DEBUG so motor will output detail log messages. | 143 | // m_velocityMotor.PhysicsScene = m_controllingPrim.PhysScene; // DEBUG DEBUG so motor will output detail log messages. |
144 | SetVelocityAndTarget(m_controllingPrim.RawVelocity, m_controllingPrim.TargetVelocity, true /* inTaintTime */); | 144 | SetVelocityAndTarget(m_controllingPrim.RawVelocity, m_controllingPrim.TargetVelocity, true /* inTaintTime */); |
145 | 145 | ||
146 | m_physicsScene.BeforeStep += Mover; | 146 | m_physicsScene.BeforeStep += Mover; |