Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using Traits with Trigger #76

Open
Wolftousen opened this issue Dec 20, 2024 · 1 comment
Open

Using Traits with Trigger #76

Wolftousen opened this issue Dec 20, 2024 · 1 comment

Comments

@Wolftousen
Copy link

Wolftousen commented Dec 20, 2024

I know the main focus of this crate is to enabled using traits with Query, but I come across an instance where I was wanting to use traits with add_observer Trigger and found that I can't b/c Trigger requires you to have derived Component to work.

Would it be possible to expand the Query functionality to Trigger?

@RobWalt
Copy link
Collaborator

RobWalt commented Feb 2, 2025

Hey sorry for not answering faster!

I guess we can take a look at it but I can't promise anything. At the moment I only have time for maintenance but I will consider it in the future.

Also note that there are discussions about integrating bevy-trait-query into bevy directly which could make this request here obsolescent. The discussions haven't lead to any decisions yet though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants