Skip to content

Mutually Exclusive Components #23569

@eugineerd

Description

@eugineerd

Goal Description

Certain components in an ECS can be used to define variants of some behavior and shouldn't exist on the same entity (like RigidBody and StaticBody in a physics engine). Bevy should have an ergonomic way to represent these types of components while taking advantage of the parallel execution of systems with components that are mutually exclusive.

Goal Status

This is a potential Bevy Project Goal. Its state on the Project Goals Board determines if it is Proposed, Postponed, Blocked (Approved), Inactive (Approved), Active (Approved), Completed, or Declined.

  • Staffing SMEs: Not yet staffed
  • Working Group Link: Working Group not yet formed
  • Design Documents: Design documents not yet written

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-GoalSomething big or high-value that the Bevy Organization wants to accomplish. FOR SME USE ONLY!S-Waiting-on-SMEThis is currently waiting for an SME to resolve something controversialX-Needs-SMEThis type of work requires an SME to approve it.

    Type

    No type

    Projects

    Status

    Proposed

    Status

    Needs SME Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions