Hi
AIPath works with a rigidbody, but only by modifying its velocity directly. It does not move using forces. So it will collide with things, but it will not react to other kinds of forces.
To get a movement script that is force-based, you’d have to write your own. See Writing a movement script - A* Pathfinding Project