- Home /
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?
Your answer

Follow this Question
Related Questions
Trouble with Navmesh Agent and Navmesh Obstacle 0 Answers
RTS Helocopter Unit: Navmesh Obstacle Avoidance 0 Answers
NavMeshAgent and NavMeshObstacle together, unit jumping a small distance on toggle 2 Answers
Move object along the path,Move an object along the fixed path 1 Answer
AI converging on a target - Obstacle avoidance or pathfinding? 1 Answer