Hello,
The use case is within HugeObjectCount example to remove the huge amount of nodes created by adding this as line 154
for (int i = 0; i < boxNodes_.Size(); i++)
{
boxNodes_[i]->Remove();
}
I am observing a significant amount of time to remove those nodes. I also tried disabling the nodes first.
If I create an intermediary parent node to which I add all these nodes, and then remove the parent, then the operation is instantaneous.
Can someone please explain the reason behind this behavior?
My real use case is a pseudo-destructible environment in which my world elements also consist of a significant number of nodes.