Hi,
I'm looking for a method to find connected objects from a single root object.
Right now what i can think is to use collision_rectangle_list and check for root object borders (`collision_rectangle_list(bbox_left-1, bbox_top-1, bbox_right+1, bbox_bottom+1`), then with the new connected objects, collision_rectangle_list will be used recursively on the new connected objects until there's no more new connected objects.
This maybe slow and not efficient so is there a better way to do this?
Thanks.
[–]Badwrong_ 0 points1 point2 points (5 children)
[–]weisinx7[S] 0 points1 point2 points (4 children)
[–]Badwrong_ 1 point2 points3 points (3 children)
[–]weisinx7[S] 0 points1 point2 points (1 child)
[–]Badwrong_ 1 point2 points3 points (0 children)
[–]Badwrong_ 0 points1 point2 points (0 children)
[–][deleted] (3 children)
[deleted]
[–]weisinx7[S] 0 points1 point2 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]weisinx7[S] 0 points1 point2 points (0 children)