object enters trigger: how to: calculate where it's facing: and continue to calculate while in trigger

A cube enters a trigger, how do I determine which face is currently most facing the camera... And, if it rotates whilst in the trigger zone, how do I keep up to date with which face is most facing the camera?

Not sure if this is the best way to do it. But make 6 children to the cube. One in the center of each face with some name to identify which face you want...ex = side1, side2, etc..

Write a function that checks distance of all 6 children from the camera...return the closest child.

To check all the time, call function in update.

I did this to get dice roles. Worked like a charm.