Map Loader & Unloader

I was wonder how I would go about making a map loader and unloader.

I’m making a game like clicker simulator and I want the islands and stuff to unload when you’re not close to it/not in the same world as it. This would help save FPS but I do not know how to go about it, can anyone help? Thanks!

1 Like

You could try checking the Magnitude between the player and the islands. If the distance is greater than a certain amount, parent the island model to nil and vice versa.

To do this efficiently, I would have the islands in a folder in workspace and grouped in a model with one part where you can check the distance.

3 Likes

I will try that, thank you so much!

1 Like