A* Pathfinding Project

2D Jump and gravity


#1

Hi, I made a 2D game; the enemy’s AI is based on Grid graph of A* Pathfinding(Pro version); but I’ve problem with gravity, the enemy fly!

I use Unity 2018.1.0f2 and A* Pathfinding 4.1.16
Thanks for the attention!


#2

Hi

Sorry for the late answer.

This type of platformer game is unfortunately not something that this package is aiming to support at the moment. It’s quite tricky to do it with a grid graph because the air will be walkable.

I think you might have better luck with a point graph where you position the nodes along the ground.