Get Cube face down?

At the moment I have a cube with blank components on each face with a number for the tag and a loop checking for the lowest. I’m wondering other ways this could be done and maybe faster?

Had considered something to do with forward/up/right vectors but no luck.

considered something to do with forward/up/right vectors

You can get the Dot Product between these vectors and Vector(0,0,-1);

E.g. Get Up Vector and get the dot product. if the result is close to 1, the top is facing down; if close to -1, the bot is facing down; if close to 0, get Right Vector and repeat, then the same with Forward Vector.

3 Likes

For some reason, I’m always getting 0.

Can you show your blueprint?

I just compared each Z 1/-1 since it gets the same result.