How do I create a new object with a new mesh (square shape) with at corners points:
top left : x = -1, y = 0, z = 1;
top right: x = 1, y = 0, z = 1;
bottom left: x = -1, y = 0, z = -1;
bottom right: x = 1, y = 0, z = -1;
I’ve been looking over the docs, and everything is too complicated. I’ve also been looking through the forums, but I still have no idea.
What I want is a new GameObject with a new mesh (square shape) at those points, from a script.