As a Roblox developer, it is currently impossible to create a UnionOperation in-game; this would prove useful for random map generation. I’m trying to create an open world randomized map generator for my new game, and there isn’t a way to randomize the borders without using complicated math and z-fighting.
I’m not sure if it would be possible to create a union in the workspace while the game is running. In the case that it isn’t, it should only let people union objects that are not rendered in the physical view.
That’s why I suggested that they be done outside of the physical view. It should also pause on the line that created the union until it’s either completed or failed, which should return with an error message.
This is likely related to how each Union is an asset uploaded to Roblox. Allowing scripts to potentially spam-upload something may not be the best idea.
It wouldn’t need to be uploaded. It could be kept on the server. Therefore making a hole through a wall would be done in that environment saving it from all the physics calculations etc uploading.
I believe the uploading serves to have it available to all players in all servers. If such a Union were to be local to one particular server I think your solution could work, but would be quite a large new system to design as opposed to a relatively simple feature to add. This mainly because all that would have to be changed for it to work with the current system is changing the Documentation - Roblox Creator Hub operation to a lower security level accessible by more than just plugins.
That said, the use case described in this feature request seems to have little benefit from using unions at all; they aren’t loaded once and copied often (randomized terrain would likely have little or no repetition) as opposed to many instances/very large unions (which by itself is already quite limited). I reckon in this scenario loose parts are a better solution.