3 ms·
I mean, we solved the problem in the context of reference cycles during garbage collection.
by infogulch 5y ago
I mean, we solved the problem in the context of reference cycles during garbage collection.
- Izkata 5y agoBesides the "infinite" part, another problem with this is that the NPC's path isn't necessarily created all at once, but updated as the NPC gets closer to its target / obstacles in it path move around / etc, so there isn't anything to actually check for cycles.
- ketralnis 5y agoWhy do you need to do garbage collection at all, why don't you just delete the garbage?