Purges uses of TransformComponent.WorldRotation (#34946)

This commit is contained in:
TemporalOroboros
2025-02-10 19:16:20 -08:00
committed by GitHub
parent 976172b85e
commit 08e5362f43
9 changed files with 15 additions and 10 deletions

View File

@@ -256,7 +256,7 @@ public sealed class DragDropSystem : SharedDragDropSystem
dragSprite.DrawDepth = (int) DrawDepth.Overlays;
if (!dragSprite.NoRotation)
{
Transform(_dragShadow.Value).WorldRotation = Transform(_draggedEntity.Value).WorldRotation;
_transformSystem.SetWorldRotationNoLerp(_dragShadow.Value, _transformSystem.GetWorldRotation(_draggedEntity.Value));
}
// drag initiated