Skip to content
Discussion options

You must be logged in to vote

I was under the impression that Bevy's query system would only give me results to iterate over when there are actual changes to the components being queried. However, in this case, the component is returned every frame when the system is called, even though the Player component isn't being modified or changed.

That's not the case. To query for only entities with changed components, you would use the Changed query filter for the particular component.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by s-mayrh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants