So I’m trying to make entity positions follow each other. I can get 90% of the way there by iterating through a chunk and have the positions update according to the next entity in the list. The problem is when I get to the end of the chunk, I’m not sure how to get the first entity in the next chunk to do the follow calculation.
Use CreateArchetypeChunkArray and IJob instead of IJobChunk so that you can access multiple chunks at once.