Use center position for path following, tweak proximity threshold

This commit is contained in:
2024-02-13 13:13:43 +01:00
parent 7d8dec5ef7
commit acebdceb6c
6 changed files with 15 additions and 12 deletions

View File

@@ -156,7 +156,7 @@ void inputUnitAction(Game *game, InputState *input) {
if (!hasNext) break;
Position target = *ecs_get(ECS, harvestEntity, Position);
f32 proximity = 6.0f;
f32 proximity = 8.0f;
if (resource.type == RES_FOOD)
proximity = 2.0f;