Align tetrahedrons
Posted
by
thedeadlybutter
on Game Development
See other posts from Game Development
or by thedeadlybutter
Published on 2014-08-19T19:12:04Z
Indexed on
2014/08/19
22:35 UTC
Read the original article
Hit count: 332
I'm currently generating tetrahedron meshes in Unity
When a player clicks the side of a mesh, a new one spawns aligned with it, like this.
I'm not sure how nor can I find any information on implementing a tetra hedron grid. I tried playing around with the vertices until I realized I need to adjust position & rotation. Any ideas?
EDIT: To be clear, the second image was manually placed objects in the Unity Editor. I'm looking to make an algorithm that places the meshes correctly.
© Game Development or respective owner