Closed RyanChomistek closed 5 months ago
I have a KDTree2 setup, but if I despawn an entity that happens to be in the tree, later if I call within_distance, it can still return that entity and cause a panic because of hitting an update cycle before the tree rebuilds
I have a KDTree2 setup, but if I despawn an entity that happens to be in the tree, later if I call within_distance, it can still return that entity and cause a panic because of hitting an update cycle before the tree rebuilds