Hello,
i’ve created a tetrahedron, which is built from over 6000 points and I’m rotating it. I need to create a name for every vertex (for example a, b, c, d) and to rotate them just like I’m rotating tetrahedron. To do this I’m using 3d text component, but I don’t know how to match function which is rotating my tetrahderon to the function which is rotating my text. I need to obtain the effect of text which is following the vertex. Any suggestions would be very appreciated.
Code which i"m using for rotating tetrahedron:
void Update()
{
transform.Rotate(new Vector3(Time.deltaTime * 20, 0, 0));
}
Code which i"m using for rotating text:
void Update () {
transform.Rotate(new Vector3(Time.deltaTime * 20, 0, 0));
}