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

@@ -137,9 +137,10 @@ void entityUpdate(ecs_iter_t *it);
/*
* 1: Position
* 2: Velocity
* 3: TargetPosition
* 4: Steering
* 2: HitBox
* 3: Velocity
* 4: TargetPosition
* 5: Steering
*/
void entityMoveToTarget(ecs_iter_t *it);