2D Chasing Enemy AI – Platformer Follower with Smooth Animation & VFX
2D flying enemy AI with smooth animation, player chasing, death particles, ambient sound FX, and full kill system. URP & Built-in prefabs. C# scripts included.
by Aether2D
Price History +
2D Chasing Enemy AI – Platformer Follower with Smooth Animation & VFX
This asset provides a fully animated 2D flying enemy AI designed for Unity platformer games. It includes intelligent auto-chasing behavior, allowing the enemy to follow the player once they enter a defined detection radius.
When idle, the enemy remains airborne and hovers in place. Once the player is detected, it begins moving smoothly toward them, flipping left or right depending on the player's position.
This system features a complete kill mechanic. If the player jumps on the enemy’s head, the enemy is destroyed with a death sound, a particle effect, and a bounce effect that propels the player upward. On the other hand, if the player touches the enemy’s body, it will damage or kill the player, depending on your game logic. These interactions are managed through two separate colliders: one on the head (for stomping and killing the enemy), and one on the body (for player collision/damage).
The asset is lightweight, clean, and ideal for Unity developers looking to add a responsive, visually polished, and script-ready enemy to their 2D game. All code is fully written in commented C#, and everything is ready for use in both URP and Built-in Render Pipelines.
Key Features :
Smart 2D enemy AI that detects and follows the player
Constant hovering animation with automatic direction flip
Two collider setup: head for stomp detection, body for player damage
Bounce mechanic: player is pushed upward after killing the enemy
Death effect: particles and audio triggered on enemy death
Ambient flying sound plays every few seconds for realism
Includes URP and Built-in enemy prefabs
Customizable parameters: speed, line of sight, bounce force, SFX, and particles
Clean C# scripts with comments for easy editing
Fully compatible with Unity 2021+ and tested on multiple screen resolutions
Licensing & Usage :
All content is licensed under Creative Commons CC0.
You’re free to use it in personal and commercial projects with no attribution required.
Credit is appreciated, but not required.
Resale or redistribution of the asset itself (as-is or bundled) is not allowed.
This enemy is part of an expanding 2D platformer asset collection.
To see what’s coming next, follow the full series here: