How do I get the face of a cube that has been rotated with line trace?

Hello I am trying to detect a face on a cube that has been rotated but the blueprint I have only works if the rotation values are all 0.

Any help would be appreciated.

How about this:

https://forums.unrealengine.com/development-discussion/c-gameplay-programming/1355043-how-can-i-detect-which-face-of-a-cube-was-hit-by-line-trace

This works and is simple, but the cube has to in on it:

Better vid:

302055-cube.gif

I just put normals on the cube and measured the angle between those and my hit normal:

Thanks this worked perfectly.