Skip to content

QueryEntities Unlimited Components #81

Locked Answered by sebas77
simeonradivoev asked this question in Q&A
Discussion options

You must be logged in to vote

as long as all the entities in the groups you are querying have the components you need, they can all be indexed with the same index.
For this reason, you can call QueryEntities how many times you need.
With some Svelto patterns you instead get the current group from the foreach and use it to do the extra query entities inside the foreach.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sebas77
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
FAQ Svelto FAQs
2 participants
Converted from issue

This discussion was converted from issue #78 on August 09, 2022 16:36.