Skip to content

Add a command to clear inexistence children #12438

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

Closed
Multirious opened this issue Mar 12, 2024 · 3 comments
Closed

Add a command to clear inexistence children #12438

Multirious opened this issue Mar 12, 2024 · 3 comments
Labels
C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled

Comments

@Multirious
Copy link
Contributor

What problem does this solve or what need does it fill?

Sometimes while using Bevy, user may receive an entity with some children that do not exist.

What solution would you like?

New command that remove the given entity's children that do not exist from Children component.

What alternative(s) have you considered?

The work around is recreate a Children component and check for child that do not exists.

Additional context

Started from this Discord discussion.

@Multirious Multirious added C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled labels Mar 12, 2024
@Multirious
Copy link
Contributor Author

Multirious commented Mar 12, 2024

Let me know if this feature is worth implementing so I could try my first contribution!

Multirious added a commit to Multirious/bevy that referenced this issue Mar 12, 2024
@iiYese
Copy link
Contributor

iiYese commented Mar 12, 2024

This will be solved by #12235

@Multirious
Copy link
Contributor Author

Oh, alright then. Not today I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-Feature A new feature, making something new possible S-Needs-Triage This issue needs to be labelled
Projects
None yet
Development

No branches or pull requests

2 participants