How to make a triangular prism mesh

Hello,

I would like to make a triangular prism mesh in Unity. I don’t want to use an obj file because I want to be able to create different ones dynamically based on other objects I have.

I am having trouble where the normals are not being set correctly and sometimes the walls don’t even show up. If someone could direct me to an example of a triangular prism mesh that is lighted correctly, created using a Unity javascript or give one here that would be much appreciated :slight_smile:

This should get you what you want.

Triangle Prism