Best way to build a room
I want to create a room, should i use 1 cube then resize or should i use 6 cubes to make a room, which way is better?
if your room doesn't have any doors or windows, 6 cubes, why not. A cube with inverted normals, probably even better, because it's one object.
thank you very much, by the way i still need 6 colliders right?
yes, and thats the best solution performance wise
if you dont alleady have a modeling program its well worth the time getting one and and learning it. Last I heard maya is a free popular program that works well.
Answer by AMU4u · Feb 23, 2017 at 02:59 AM
The BEST way is to create the room is by creating custom meshes. This is the way minecraft is done. Basically you create an array of vertices, create triangles from that array, and create your collision mesh based on those previous calculations.
Your room will end up being basically 6 faces.
http://alexstv.com/index.php/posts/unity-voxel-block-tutorial
This is a voxel tutorial that creates one of these meshes, which would literally be all you need!
if procedural generation is required, yes. For one room without anything, not so much
But the idea is simple. $$anonymous$$aking six primitive shapes is hacky. Triangles and vertices are principles they will have to learn eventually.
Your answer
Follow this Question
Related Questions
How to make cartoonish cubes. 1 Answer
How do I animate a cube? 1 Answer
array index out of range 1 Answer
I went To Test The Build of my Game and it crashed From a Trigger 1 Answer