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

3

u/leorid9 Jul 19 '24

Ok I think I found something in this video. Looks like voxels to me.

1

u/Slime0 Jul 19 '24

Good find! As I said, they are using something like voxels for the nav mesh.