Hi, I just started to use A* as my procedural world’s pathfinding solution.
I’m using Easy Character Movement (ECM) for my agents. This is a rigidbody based controller, so gravity simulation is not needed in controller scripts.
The ECM asset comes with a Navmesh Agent implementation. And I don’t find Base AI from A* useful for it uses unity’s Character Controller component (I don’t intend to use it).
What I want to do is to write my own implementation between ECM and A*, but don’t know where to start. Any suggestions on which class should I take as reference or which fields should I use during implementing?
Another question: I have agents does not require grounding (like fishes) but has a y position limit in world space, and they should be able to avoid rocks or corals in my under water scene. Is there any solution for them to find a safe path when following to or escaping from locations? Any help can A* provide with these kinds of agents?