aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-20 12:30:34 -0700
committerJohn Hurliman2009-10-20 12:30:34 -0700
commit99abe885c812e42229d1e1b4fa58cd0a34edf859 (patch)
tree65dca56e758a7ed745db682d30c4551abd2edb90 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentReverting the deletion of files related to texture sending until we figure ou... (diff)
downloadopensim-SC-99abe885c812e42229d1e1b4fa58cd0a34edf859.zip
opensim-SC-99abe885c812e42229d1e1b4fa58cd0a34edf859.tar.gz
opensim-SC-99abe885c812e42229d1e1b4fa58cd0a34edf859.tar.bz2
opensim-SC-99abe885c812e42229d1e1b4fa58cd0a34edf859.tar.xz
Fixing position/rotation/collisionplane in ObjectUpdate packets for avatars
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs14
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 88faccf..dce9469 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -4285,12 +4285,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
4285 4285
4286 protected ObjectUpdatePacket.ObjectDataBlock CreateAvatarUpdateBlock(SendAvatarData data) 4286 protected ObjectUpdatePacket.ObjectDataBlock CreateAvatarUpdateBlock(SendAvatarData data)
4287 { 4287 {
4288 byte[] objectData = new byte[60]; 4288 byte[] objectData = new byte[76];
4289 data.Position.ToBytes(objectData, 0); 4289
4290 //data.Velocity.ToBytes(objectData, 12); 4290 Vector4.UnitW.ToBytes(objectData, 0); // TODO: Collision plane support
4291 //data.Acceleration.ToBytes(objectData, 24); 4291 data.Position.ToBytes(objectData, 16);
4292 data.Rotation.ToBytes(objectData, 36); 4292 //data.Velocity.ToBytes(objectData, 28);
4293 //data.AngularVelocity.ToBytes(objectData, 48); 4293 //data.Acceleration.ToBytes(objectData, 40);
4294 data.Rotation.ToBytes(objectData, 52);
4295 //data.AngularVelocity.ToBytes(objectData, 64);
4294 4296
4295 ObjectUpdatePacket.ObjectDataBlock update = new ObjectUpdatePacket.ObjectDataBlock(); 4297 ObjectUpdatePacket.ObjectDataBlock update = new ObjectUpdatePacket.ObjectDataBlock();
4296 4298