aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorRobert Adams2013-09-20 09:36:19 -0700
committerRobert Adams2013-09-20 09:58:25 -0700
commit07d7a5fd76460a16b97d285a1b2c4a101e5543b6 (patch)
treec076c50515cb20d882fe12a7283b6062339a8ad7 /OpenSim/Region
parentMake new regions PG by default instead of Mature. (diff)
downloadopensim-SC_OLD-07d7a5fd76460a16b97d285a1b2c4a101e5543b6.zip
opensim-SC_OLD-07d7a5fd76460a16b97d285a1b2c4a101e5543b6.tar.gz
opensim-SC_OLD-07d7a5fd76460a16b97d285a1b2c4a101e5543b6.tar.bz2
opensim-SC_OLD-07d7a5fd76460a16b97d285a1b2c4a101e5543b6.tar.xz
BulletSim: zero velocity when avatar not moving.
This fixes a movement jitter that happens when an avatar is standing on a tilted surface.
Diffstat (limited to 'OpenSim/Region')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs b/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs
index 04a4a32..8ca55e5 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSActorAvatarMove.cs
@@ -278,6 +278,7 @@ public class BSActorAvatarMove : BSActor
278 if (m_controllingPrim.IsStationary) 278 if (m_controllingPrim.IsStationary)
279 { 279 {
280 entprop.Position = m_controllingPrim.RawPosition; 280 entprop.Position = m_controllingPrim.RawPosition;
281 entprop.Velocity = OMV.Vector3.Zero;
281 m_physicsScene.PE.SetTranslation(m_controllingPrim.PhysBody, entprop.Position, entprop.Rotation); 282 m_physicsScene.PE.SetTranslation(m_controllingPrim.PhysBody, entprop.Position, entprop.Rotation);
282 } 283 }
283 284