Simple List of A* Movement Commands

  • A* version:5.3.8
  • Unity version: [6.0.49]
  • I am using this after too many glitches with Unity Navmesh AI.
  • I am using a Recast 3D graph
  • But all I want is a very simple command guide. I would like to create a Simple MoveToTarget Method (and I’ll provide an animation via Animancer) which I can then place on a number of 3d NPCs. Is there a simple list of commands anywhere in the documentation, I’m not so capable of searching through scripts to pick out commands. Please help

You can use Move() for this on all of the built in movement scripts.

Hi

ai.Move is primarily intended for direct movements forces like being pushed by a conveyor belt and similar.

For a MoveToTarget method, you’d want ai.destination = myPoint instead.
If you have already been using unity’s ai, check out this guide for how to translate between that system and this package: Migrating from Unity Navigation - A* Pathfinding Project

1 Like