Making a plane with two sides

So i made a maze in blender. I took a plane deleted a verticies and then extruded more until i had a point at every corner. i then selcted all points and extruded them vertically making walls. the problem is that they are all planes. This makes them only visible and solid from one direction. Is there any way to make them solid from both sides.

Okay, the shader only fixes half the problem, now the walls are visible from both sides but the character can still walk through one side. Does anyone have a way to make both sides solid?

You can modify the shader to turn culling off. I don't know your target platform, but this can impact performance.

Yes. The problem is that they are all planes. Note that the walls in your home are not planes, they are stretched cubes. You can get your planes to collide on both sides by duplicating all the vertices and flipping the normals of the duplicates - a plane is only visible/collisive on the side from which its normal emerges. (though as mentioned you can make them visible from both sides)

1 Answer

1

Attach this shader to them …

[9621-doublesided.shader.zip|9621]