Hi,
I used this.scene.physics.moveTo(this, x, y, 600);
to move the enemy object to player position. But all the enemy come over each other as there in figure.
For enemy collider, I had used this this.physics.world.addCollider(this.enemies, this.enemies);
Used this, but didn’t work
if (distance < 64 * 4) { this.setVelocity(0, 0); }
Thanks for any help!