Use center position for path following, tweak proximity threshold
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user