Polish kinematic movement

This commit is contained in:
2024-01-04 17:18:31 +01:00
parent c0b94a9cc3
commit 3c18280a32
7 changed files with 43 additions and 48 deletions

View File

@@ -81,18 +81,17 @@ void entityUpdateSpatialID(ecs_iter_t *it);
/*
* 0: Game (singleton) for collisions
* 1: Position
* 2: Rotation
* 3: Velocity
* 4: Steering
* 2: Velocity
* 3: Steering
* 4: Unit
*/
void entityUpdateKinematic(ecs_iter_t *it);
/*
* 1: Position
* 2: Rotation
* 3: Velocity
* 4: TargetPosition
* 5: Steering
* 2: Velocity
* 3: TargetPosition
* 4: Steering
*/
void entityMoveToTarget(ecs_iter_t *it);