Try to get Chinthe to stop jumping upon reaching player

This commit is contained in:
2025-10-26 15:05:18 -07:00
parent 286c221530
commit 720696aed0
13 changed files with 415 additions and 21 deletions

View File

@@ -44,10 +44,6 @@ public abstract partial class Enemy2D : Enemy
{
Velocity = safeVelocity;
LookAtTarget(safeVelocity);
if (Velocity > Vector3.Zero)
_enemyLogic.Input(new EnemyLogic.Input.Move());
else
_enemyLogic.Input(new EnemyLogic.Input.Idle());
MoveAndSlide();
}