-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add AsyncSceneOutline
#30
Comments
Good idea, thanks. Added by 87df3aa. |
@komadori Thanks! But I see that you use |
@Shatur My thinking at the time was what would happen if you added More generally, I'm not entirely happy with the abstraction offered Bevy. Reading the discussion on bevyengine/bevy#9115, I'm not convinced that Anyway, I'll have a see about changing it to use the event. |
I suggested the marker component initially, but they decided on the event, so I edited the issue. |
Yes, I saw. Thanks for working on it. I think it will use some kind of per-entity event/observer pattern in the future once Bevy has support for it, and that will be the best solution. |
bevy_xpbd have AsyncSceneCollider which initializes all colliders from meshes after scene loading.
It would be convenient to provide something like
AsyncSceneOutline
component and a system that listens for SceneInstanceReady event and for all entities withAsyncSceneOutline
inserts InheritOutlineBundle to all their children.The text was updated successfully, but these errors were encountered: