QuadTree icon indicating copy to clipboard operation
QuadTree copied to clipboard

Unable to remove nodes from tree

Open wilderic opened this issue 7 years ago • 2 comments

I'm not sure if you're still working on this or not, and maybe I'm just dense, but I couldn't find a way to remove a node from the quad tree. Any help on this would be great.

wilderic avatar Apr 11 '18 16:04 wilderic

Hi, the point with this quad tree is to create a new one each frame, there is no remove method on the quad tree for this reason. What are you trying to achieve with it? I am not working on this quad tree anymore as it work just fine for what I do with it (insert game entities in a new quad tree for each frame before testing for collisions).

alwex avatar Apr 13 '18 06:04 alwex

I am using this for area of interest management for an MMO. It needs to be persistent and support moving things around so I guess your quadtree library just won't work for what I need.

Thanks!

wilderic avatar Apr 13 '18 18:04 wilderic