aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-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