Merge commit '20da04fd0c909a00c0cdc2585f242e95c868801a' into bigmerge

This commit is contained in:
Melanie
2011-10-25 01:43:05 +01:00
3 changed files with 39 additions and 8 deletions

View File

@@ -4812,6 +4812,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
position = presence.OffsetPosition;
velocity = presence.Velocity;
acceleration = Vector3.Zero;
// Interestingly, sending this to non-zero will cause the client's avatar to start moving & accelerating
// in that direction, even though we don't model this on the server. Implementing this in the future
// may improve movement smoothness.
// acceleration = new Vector3(1, 0, 0);
angularVelocity = Vector3.Zero;
rotation = presence.Rotation;