Skip to content

Destroying non-used entities #1153

Answered by skypjack
menganha asked this question in Q&A
Jul 13, 2024 · 2 comments · 4 replies
Discussion options

You must be logged in to vote

My personal choice is for the second option, that is, marking entities with a dedicated component. By far better than anything else imho.
As a bonus point, it also has an optimized path if you pass the view iterators to the destroy function directly. So... 🙂

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by menganha
Comment options

You must be logged in to vote
4 replies
@skypjack
Comment options

@menganha
Comment options

@skypjack
Comment options

@menganha
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
discussion it sounds interesting, let's discuss it
2 participants