diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP')
-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 a4887ad..024ebce 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4744,6 +4744,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4744 | position = presence.OffsetPosition; | 4744 | position = presence.OffsetPosition; |
4745 | velocity = presence.Velocity; | 4745 | velocity = presence.Velocity; |
4746 | acceleration = Vector3.Zero; | 4746 | acceleration = Vector3.Zero; |
4747 | |||
4748 | // Interestingly, sending this to non-zero will cause the client's avatar to start moving & accelerating | ||
4749 | // in that direction, even though we don't model this on the server. Implementing this in the future | ||
4750 | // may improve movement smoothness. | ||
4751 | // acceleration = new Vector3(1, 0, 0); | ||
4752 | |||
4747 | angularVelocity = Vector3.Zero; | 4753 | angularVelocity = Vector3.Zero; |
4748 | rotation = presence.Rotation; | 4754 | rotation = presence.Rotation; |
4749 | 4755 | ||