Hey guys. I have some problem with making Zombie AI.
For make them move and fall I use Platformer behavior (Default controls: no).
And their movement look like that:
zombie.x < player.x - simulate control Right
zombie.x > player.x - simulate control Left
Also, they need to detect boxes and jump over it
(if Speed = 0 - [idling] - simulate control Jump)
But if there will be 2 boxes and one of them will on top of other and zombie needs to destroy first, and then jump over second.
I tryed to make some kind of detector (sprite with bullet behavior) and it works kinda fine but i'm think there is a way to make it easier.
Want to see your suggestions :)