Question by
whatisitstudios_unity · Oct 25, 2020 at 07:02 PM ·
2d-platformerphysics2dpathfinding
2D Platformer Enemy Pathfinding
I'm currently working on a game where you go around attacking enemies. Right now I have an enemy, but he doesn't do anything. It just sits there, and you can push him around and bully him. So, I need it to follow you. I found a script that works, but not the way I want it to. What I want is the enemy to fall on the ground and when you jump up on something, the enemy jumps up on that, too. I would like the script to be physics-based (rigidbody2d), and it doesn't need to be overly complicated.
Thanks.
Comment