Download

Stop AI from pathfinding?

Hi.

Is there a way to disable pathfinding. I want AI to go directly to a point. If something is in the way i want them to keep walking into it. For example if there is a wall i want it to keep walking into the wall as opposed to work a route out that goes around the wall.

If you are using a behavior tree use the move directly toward task or use the MoveToLocation or MoveToActor functions on the aicontroller and set the parameter bUsePathFinding to false. This will make them follow a straight line path from one point to another.

Much appreciated @dzeligman