Player(CharacterBody2d) rush to Enemy(RigidBody2d), Enemy’s _on_body_entered not trigger.
but when Enemy fall down on the floor, it can trigger body_enter
What type of node is suitable for moving enemies? in this example, I use rigidBody2d,but it looks like godot doesn’t recommand me to do like this.
by the way, I have check some a tutorial, it use gdScript to control enemy to move. but also can use animatePlayer to control.I think it’s easier to use AnimatePlayer customization,what do u think?
when player collision mask layer include enemy, and also enemy collision mask layer include player,
rigidBody body enter it doesn’t work,
if clean the enemy in mask layer of player, it will work fine!!!