Split follow path system with follow target position

This commit is contained in:
2023-12-07 11:20:04 +01:00
parent 7bada9f4e8
commit ddb562a62e
5 changed files with 40 additions and 14 deletions

View File

@@ -50,13 +50,17 @@ void entityUpdateSpatialID(ecs_iter_t *it);
void entityUpdateKinematic(ecs_iter_t *it);
/*
* 0: Game (singleton) for object pool
* 1: Position
* 2: Rotation
* 3: Velocity
* 4: AngularVelocity
* 4: TargetPosition
* 5: SteeringOutput
* 6: Path
*/
void entityMoveToTarget(ecs_iter_t *it);
/*
* 0: Game (singleton) for object pool
* 1: Path
*/
void entityFollowPath(ecs_iter_t *it);