enable velocity on our full update, as I think I know why
this didn't previously work0.6.0-stable
parent
0574355b4b
commit
02b1d908e8
|
@ -2125,8 +2125,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
byte[] pb = pos.GetBytes();
|
byte[] pb = pos.GetBytes();
|
||||||
Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length);
|
Array.Copy(pb, 0, outPacket.ObjectData[0].ObjectData, 0, pb.Length);
|
||||||
|
|
||||||
// byte[] vel = velocity.GetBytes();
|
byte[] vel = velocity.GetBytes();
|
||||||
// Array.Copy(vel, 0, outPacket.ObjectData[0].ObjectData, 12, vel.Length);
|
Array.Copy(vel, 0, outPacket.ObjectData[0].ObjectData, pb.Length, vel.Length);
|
||||||
|
|
||||||
byte[] rot = rotation.GetBytes();
|
byte[] rot = rotation.GetBytes();
|
||||||
Array.Copy(rot, 0, outPacket.ObjectData[0].ObjectData, 36, rot.Length);
|
Array.Copy(rot, 0, outPacket.ObjectData[0].ObjectData, 36, rot.Length);
|
||||||
|
|
Loading…
Reference in New Issue