Split follow path system with follow target position
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user