mirror of
https://github.com/opensim/opensim.git
synced 2026-08-14 09:25:45 +08:00
This seems to get rid of the stuck PREJUMP animation, as reported by Justin in -dev. Also in this commit, a slight adjustment to the Velocity of SP -- this makes the avie walking feel less jerky for me. Will wait reports from others.
This commit is contained in:
@@ -3203,8 +3203,11 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Vector3 force = m_forceToApply.Value;
|
||||
|
||||
m_updateflag = true;
|
||||
// movementvector = force;
|
||||
Velocity = force;
|
||||
|
||||
// The magic constant 0.855f seems to make walking feel less jerky,
|
||||
// probably because it hackishly accounts for the overall latency of
|
||||
// these Velocity updates -- Diva
|
||||
Velocity = force * .855F;
|
||||
|
||||
m_forceToApply = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user