Roblox Union Api
A community for roblox the online game creation platform.
Roblox union api. This is a yielding function. When you publish a gameplace with multiple unions roblox saves the mesh data and then reloads the mesh data sometimes taking a few seconds and. Performs a union operation on the calling basepart and the list of parts passed in as the first parameter. Roblox the roblox logo and powering imagination are among our registered and unregistered trademarks in the us.
Solid modeling has been around since 2014 arising from a hack week project. In roblox each cell in the voxel grid measures 4x4x4 studs. Classes enums data types lua documents grouped. This example assumes there are three parts named part1 part2 and part3 in the workspace.
Basic in game union operation. This subreddit is not run monitored or used by roblox staff. In 2017 roblox released csgv2 designed to address the limitations of the original system while possessing some of its own. Solid modeling more commonly referred to as unions or a unionoperation is a feature in roblox studio that combines or negates two or more parts to form an object called a union.
With robloxs legacy terrain the material was shaped into a cube around the voxel or sometimes a 45 degree slope. When called it will pause the lua thread that called the function until a result is ready to be returned without interrupting other scripts. Create a deep copy of a roblox instance and descendants where archivable true. To create the terrain effect points in the voxel grid are assigned a material.
If you play around and make a complex union then undo a few times then redo then undo again sometimes the unions mesh will improperly load or render resulting in an invisible union part. This material is then filled in around the voxel to create the terrain. I tried closing and reopening the. I went into edit mode on my game today to discover the unions on my 3 horse rigs have completely disappeared.
Only leaving the upper legs made of bricks however ever other union like the hay bales in the background still exist.