From 20da04fd0c909a00c0cdc2585f242e95c868801a Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Thu, 13 Oct 2011 21:42:24 +0100 Subject: More method doc and formatting changes. Makes DestroyOdeStructures() private --- OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs') 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 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; -- cgit v1.1