Fix thrust animation rotation (#34713)
* Fix thrust animation rotation * directly update sprite instead
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user