Unreal Engine - 2D Retro RTS - No nav mesh

Опубликовано: 13 Ноябрь 2024
на канале: Last Iberian Lynx GameDev
172
4

I decided to not use any nav mesh for this game and tried to find a simple alternative.
So i came up with the system called, Wait, Contour & Separate.
Units will move freely for the most using vinterp.
When they collide with other units, they decide if they should Wait, Contour or Separate.
They will wait, if the other unit is cutting its path and moving.
Contour if the other unit is idle or fighting.
Separate if overlapping too many units (yet to be further tweaked).
The enemy attacking chaotically is on purpose, for testing. So to see how they behave in the worst case scenario.
I will make them attack more orderly in the future.