You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A friend of mine just ran into the need to iterate over entities with a component, but not wanting to borrow the component store during iteration.
Right now the only way to do that is to resort to using entities.iter_with_bitset() and manually combining the bitsets from the components. We should implement some kind of QueryItem that allows you to use the normal entities.iter_with(), but without actually borrowing the component store, if possible.
The text was updated successfully, but these errors were encountered:
A friend of mine just ran into the need to iterate over entities with a component, but not wanting to borrow the component store during iteration.
Right now the only way to do that is to resort to using
entities.iter_with_bitset()
and manually combining the bitsets from the components. We should implement some kind ofQueryItem
that allows you to use the normalentities.iter_with()
, but without actually borrowing the component store, if possible.The text was updated successfully, but these errors were encountered: