diff options
author | Justin Clark-Casey (justincc) | 2011-10-13 21:42:24 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-10-13 21:42:24 +0100 |
commit | 20da04fd0c909a00c0cdc2585f242e95c868801a (patch) | |
tree | 218710c15d1a240bd1c2cca8197c5a696bea0b44 /OpenSim/Region/ClientStack/Linden/UDP | |
parent | refactor: move 3x copy/pasted ode structure removal code in ODECharacter into... (diff) | |
download | opensim-SC-20da04fd0c909a00c0cdc2585f242e95c868801a.zip opensim-SC-20da04fd0c909a00c0cdc2585f242e95c868801a.tar.gz opensim-SC-20da04fd0c909a00c0cdc2585f242e95c868801a.tar.bz2 opensim-SC-20da04fd0c909a00c0cdc2585f242e95c868801a.tar.xz |
More method doc and formatting changes. Makes DestroyOdeStructures() private
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 | ||