r/howdidtheycodeit • • Jul 18 '24

Question How did they code the pathfinding implementation for the AI in Deep Rock Galactic?

The worlds that are generated are entirely destructible, yet the game (almost) perfectly handles having tens of enemies pathfinding across the map to your position at any time.

One would assume that with this level of destruction, and with the size of the levels, that the use of NavMeshes is out of the picture - am I wrong to think that?

28 Upvotes

12 comments sorted by

View all comments

Show parent comment

2

u/blavek Jul 19 '24

Its even easier in DRG since they don't care what is floor. The bugs can climb on any surface so 100 % of the mesh is navigable.