Search the Community
Showing results for tags 'procedural'.
Found 1 result
willychyr posted a topic in General DiscussionHi All, I'm looking into using procedural generation to make levels and objects, and wanted to know if there's a ProBuilder scripting API for this? My specific goal is to have a script spawn and place boxes of different sizes around the scene. I know how to do this with the default Unity cubes, by just using GameObject.CreatePrimitive(PrimitiveType.Cube); And then changing its position and scale. However, I'd like to do it with ProBuilder cubes, so that I can edit them by hand. Also, I'd like to not use scale, but use the extrude face function, for having cubes of different sizes. Any help would be greatly appreciated. Thank you! - Willy