bevyengine / bevy

A refreshingly simple data-driven game engine built in Rust
https://bevyengine.org
Apache License 2.0
36.25k stars 3.58k forks source link

Adoption of JoJoJet/bevy-trait-query #15970

Open Inspirateur opened 1 month ago

Inspirateur commented 1 month ago

Trait queries are missing in bevy and only covered by https://github.com/JoJoJet/bevy-trait-query/ Upstreaming it would be nicer for bevy users as it is a really common need and 3rd party lib can easily become outdated🥺

(Got told by @alice-i-cecile to open this :p)

giocri commented 3 weeks ago

yeah this would be immensely useful for my game to i have several types of objects who have a common trait to write to a buffer and would have to do so in the right order which is an absolute pain to do without being able to do them all in the same system