Make banking no longer break sit rotations. Fix spinning avatars.
parent
f4e12c5f72
commit
da2b598484
|
@ -4960,6 +4960,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
position = part.OffsetPosition + presence.OffsetPosition * part.RotationOffset;
|
position = part.OffsetPosition + presence.OffsetPosition * part.RotationOffset;
|
||||||
rotation = part.RotationOffset * presence.Rotation;
|
rotation = part.RotationOffset * presence.Rotation;
|
||||||
}
|
}
|
||||||
|
angularVelocity = Vector3.Zero;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
angularVelocity = presence.AngularVelocity;
|
||||||
|
rotation = presence.Rotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
attachPoint = 0;
|
attachPoint = 0;
|
||||||
|
@ -4972,9 +4978,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||||
// may improve movement smoothness.
|
// may improve movement smoothness.
|
||||||
// acceleration = new Vector3(1, 0, 0);
|
// acceleration = new Vector3(1, 0, 0);
|
||||||
|
|
||||||
angularVelocity = presence.AngularVelocity;
|
|
||||||
rotation = presence.Rotation;
|
|
||||||
|
|
||||||
if (sendTexture)
|
if (sendTexture)
|
||||||
textureEntry = presence.Appearance.Texture.GetBytes();
|
textureEntry = presence.Appearance.Texture.GetBytes();
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue