-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Entity Markers #6556
Copy link
Copy link
Open
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useX-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
Metadata
Metadata
Assignees
Labels
A-ECSEntities, components, systems, and eventsEntities, components, systems, and eventsC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to useX-Needs-SMEThis type of work requires an SME to approve it.This type of work requires an SME to approve it.
What problem does this solve or what need does it fill?
A Marker trait that can mark an entity. example
then we can assign an entity with a marker
and we can easily query players
What solution would you like?
An Marker that works like a Resource but holds a EntityID and the Marker can be used in Queries.
What alternative(s) have you considered?
Manually make Resources holding EntityIDs and then using a normal query and using .get with the entityID from the resource.