Closed shinriyo closed 9 months ago
I added it for Goblin class.
but, he can move diagonaly.
@override void update(double dt) { super.update(dt); if (!enableBehaviors) return; if (!gameRef.sceneBuilderStatus.isRunning) { seePlayer( radiusVision: DungeonMap.tileSize, observed: (p) { moveTowardsTarget( target: p, close: () { execAttack(attack); }, // I added movementAxis: MovementAxis.withoutDiagonal, ); },
Hi @shinriyo . I can not reproduce this probem. In my test work well. Could you share more information or vide?
How can we help?
I added it for Goblin class.
but, he can move diagonaly.