when you click somewhere on red box or black sphere it’s gonna show you the angle in the middle at the top of the screen.
My question is if can color full plane of clicked mesh, photo below for better understanding. I tried to use decal(44-53) but it draws on full mesh I mean it covers also other planes of this box.
so the side of the box was clicked and it changed color to yellow:
Note that a face is really a single triangle. The cube case is a special case where you have two triangles that are coplanar and thus you could display a quad, but it does not hold for the sphere case.
I like your solution, that’s actually what I needed! But now comes more problems that I didn’t know will occur. Can we store information about what face was clicked and when we rotate the mesh with gizmo it’s gonna(yellow triangle) “rerender” in the correct position?
Hmm. I guess I could store info about normal vector but the point is when I rotate the gizmo I’d like to have info about the change of the plane’s normal vector.
So e.q when I click on the box (and init yellow triangle) it gives me calculated degrees. But when I rotate the mesh I have to click again on the plane to get calculations…