- Home /
Construct a home in unity3d, I am confused that which is better to use as wall cube or plane??
Is there any performance difference by using plane or cube. Because i seems that plane might be good to built wall or partition, but it only display one side surface.(Here i may be wrong..... Please make me current and clear).
Answer by MrSoad · Dec 12, 2014 at 02:13 PM
A cube is much better for the following reasons :
1) A plane(tris 200, verts 121) is much higher poly than a cube(12 tris, 8 verts). A Quad on the other hand is not(2 tris, 4 verts).
2) Your walls need to have some depth/thickness to them. If they don't then when you add a collider to them the collider will be too thin. This means that objects will be able to pass through the collider sometimes(which you don't want).
3) As you spotted above the Plane is only rendered on one side, though this can be fixed by using a Cull Off shader or editing this property on a shader of your choice.
However I would strongly advise that you try and learn a 3D package(Blender if you need one for free) or find someone to work with who does have this skill. I advise this as the std Unity Cubes will display textures on them in a way that you probably won't like, where as a cube that you unwrap in a 3D package will(when you have learnt how to unwrap). The other benefit is that you can make any shape of object that your want, you will reach a point where the primitive Unity objects will no longer meet your needs.
Your answer