Pathfinding around corners

I know true pathfinding is rather complicated. Right now I’m just using a system where enemies detect nearby checkpoint that give coordinates for their next checkpoint, but sometimes enemies get stuck on walls or corners. Does anyone have a method for course correction?
Less long distance path finding, but just moving around objects.

4 Likes

Raycasts? I really can’t think of another way

2 Likes

I think I might have an better idea if I can see the code for the movement

1 Like

The object “Targeting” is the one you wanna look at.
It has three different navigation bundles. One for player, one for other targets, And the last for paths.

1 Like

I can’t think of a good sollution for this without using tons of code…

1 Like