Hey. I have been strugling with this doubt for a while now, and I just can’t figure it out.

I’m trying to make a hypercube (also called Tesseract), but I’m having trouble with represanting the w axis in the 3D space. For now, I have a cube that I made using Vector3 vertices (represented as spheres) and a line renderer to connect those vertices.

Now, in order to make the hypercube, I doubled those vertices and changed their object type to Vector4. Now, here’s where I’m stuck. I realized that, when I instentiate the vertices, their positioning is being set using only the x, y and z axes. So the new vertices are being created over the other vertices and I just can’t figure a way to make Unity consider the w axis.

I know that it’s actually impossible to visualize a 4D space, but it’s actually possible to kind of “emulate” it in a 3D space. So, should I be using another method? Maybe matrices instead of the Vector3 and 4? Any ideas and help is welcome. Thanks!

Sorry for any misinterpretation, English isn’t my best language. Thanks!