Rotate texture by face orientation
Hey guys,
For a project i'm trying to rotate a texture in the material editor by rotation the users face. I've converted the GetRotation to EulerRotation and am feeding this into the material editor but i can't seem to progress any further. The texture UV's are obviously -1 to 1 but the Euler Rotations are XYZ and they seem to flip on 0-6 values a lot. This makes the texture rotate but flip when a value reaches a certain point.
Any help or explanation is much appreciated.
h77_x77