'Pathfinding and avoiding obstacles in unity with the ability to fall off the platform using physics

I'm trying to make a 3d game based on physics and looking for pathfinding/avoiding obstacle system for AI bots. They use Rigidbodies and .AddForce to move. I checked NavMesh and A*, but they use NavMesh Surface or another areas so NavMesh Agents cannot move out of its borders, while I need them to fall off the plarforms and die if they're pushed or drop to the platform below. I could somehow disable NavMesh Agent component when player pushes the enemy towards the edge, but there still will be the problem that bots cannot make a decision to jump off from one platform to another. Or maybe I should use raycasts instead of NavMesh and A* to avoid obstacles, but then I still need another pathfinding system. Is there any typical solution for this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source