Fix thrust animation rotation (#34713)

* Fix thrust animation rotation

* directly update sprite instead
This commit is contained in:
themias
2025-01-29 05:11:08 -05:00
committed by GitHub
parent f743ec14b1
commit 8a12017cfd

View File

@@ -138,6 +138,7 @@ public sealed partial class MeleeWeaponSystem
const float length = 0.15f;
var startOffset = sprite.Rotation.RotateVec(new Vector2(0f, -distance / 5f));
var endOffset = sprite.Rotation.RotateVec(new Vector2(0f, -distance));
sprite.Rotation += spriteRotation;
return new Animation()
{