DOTS//CORE local · not synced

m01 · Entities Core · checkpoint · 6 min

Checkpoint — components & queries

loading…0 of 7 answered
  1. 01why

    A tag component (IComponentData with no fields) stores zero bytes per entity. Why is adding one to an entity still a structural change?

  2. 02why

    You use a shared component to store each entity's world position as a float3, giving ~5,000 entities ~5,000 distinct values. What happens?

  3. 03why

    A query with WithAll<A>() runs while millions of entities exist, only thousands of which have A. Why is matching cheap regardless of total entity count?

  4. 04why

    You call SetComponent<LocalTransform> on every entity every frame, then wonder why your change filter on LocalTransform never skips any chunks. Why?

  5. 05how

    Change versions are stamped at what granularity?

  6. 06why

    Why does the ECS runtime refuse to guarantee the order in which a query yields entities?

  7. 07how

    You have a property that flips on and off many times per second per entity (e.g. 'currently stunned'). Purely from cost, which representation is worst?

your notes

stored in this browser · syncs when you sign in

m01.l06