More method doc and formatting changes. Makes DestroyOdeStructures() private

This commit is contained in:
Justin Clark-Casey (justincc)
2011-10-13 21:42:24 +01:00
parent 227db07f2f
commit 20da04fd0c
3 changed files with 39 additions and 8 deletions

View File

@@ -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;