diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 14666d6..d579f91 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4812,6 +4812,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4812 | position = presence.OffsetPosition; | 4812 | position = presence.OffsetPosition; |
4813 | velocity = presence.Velocity; | 4813 | velocity = presence.Velocity; |
4814 | acceleration = Vector3.Zero; | 4814 | acceleration = Vector3.Zero; |
4815 | |||
4816 | // Interestingly, sending this to non-zero will cause the client's avatar to start moving & accelerating | ||
4817 | // in that direction, even though we don't model this on the server. Implementing this in the future | ||
4818 | // may improve movement smoothness. | ||
4819 | // acceleration = new Vector3(1, 0, 0); | ||
4820 | |||
4815 | angularVelocity = Vector3.Zero; | 4821 | angularVelocity = Vector3.Zero; |
4816 | rotation = presence.Rotation; | 4822 | rotation = presence.Rotation; |
4817 | 4823 | ||