Well, what i'm trying to do is determine if objects in a list are still "connected" to one another.
What i'm doing is allowing players to connect objects together in game, example: someone builds a wall 10 tiles long, every object in that wall is now in each others "ANCHOR_GROUP" to form a list of all the tiles that make up that particular wall, or whatever structure they are building.
Now if the center of the wall gets destroyed, how would i determine how to rebuild the remaining objects ANCHOR_GROUP lists based on what objects are still connected to each other ?
I hope that's not too confusing haha, i'm really bad at describing things.
Feb 7, 8:09 pm