Get Actor x, y, z rotation angle in shader

Hello. I know this is an older thread, but was wondering if you happened to find a fix for the y value still not coming out quite right. I’ve been trying to get the roll of an object specifically and have been scratching my head trying to get it right.


This is what I’ve tried so far but it’s having issues. It’s not returning the proper values.