New user - How do I subtract one 3d object from another?

Sorry if this is in the wrong place; I looked for the correct forum but couldn’t find where to post this.

Simply put, I want to make a pit in a simple rectangular platform by building an object, having that object clip over all the parts I want removed, and then subtracting from the platform. This is literally a 2 second procedure in Autodesk but I can’t figure out how to do it at ALL in Unity. (Even after a bit of google searching.)

It seems like a lot of effort, but should I just make all the models for everything in Autodesk and import them?

Less effort than trying to model inside a game engine but if you really want to, try reading this: http://docs.unity3d.com/Documentation/ScriptReference/Mesh.html

I don’t think that’s possible by default in Unity. You’ll need to either code it yourself, or (even better) just make the level inside a 3d modelling app.

yeah you don’t normally create geometry inside a game engine… you use art packages mostly… such as max, maya or blender.
Then export them as .fbx file, and put that into your unity assets/models folder

There are some exceptions…
You can create geometry procedurally with code/script.
You can use Unity terrain engine for ladscapes… which is semi-procedural… and semi user created.
You can look for plugins on the asset store that allow creation of geometry using boolen functions… add/subtract etc… (this is what you are thinking of)

UNity does have a few simple primitives built in, but there are some cheap/free packs on the asset store, which contain alot of simple primitives you can use for building blocky stuff… open window->asset store and look for primitives, and boolean :slight_smile: