mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
Make banking no longer break sit rotations. Fix spinning avatars.
This commit is contained in:
@@ -4960,6 +4960,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
position = part.OffsetPosition + presence.OffsetPosition * part.RotationOffset;
|
||||
rotation = part.RotationOffset * presence.Rotation;
|
||||
}
|
||||
angularVelocity = Vector3.Zero;
|
||||
}
|
||||
else
|
||||
{
|
||||
angularVelocity = presence.AngularVelocity;
|
||||
rotation = presence.Rotation;
|
||||
}
|
||||
|
||||
attachPoint = 0;
|
||||
@@ -4972,9 +4978,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
|
||||
// may improve movement smoothness.
|
||||
// acceleration = new Vector3(1, 0, 0);
|
||||
|
||||
angularVelocity = presence.AngularVelocity;
|
||||
rotation = presence.Rotation;
|
||||
|
||||
if (sendTexture)
|
||||
textureEntry = presence.Appearance.Texture.GetBytes();
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user