How do I get the direction angle of an actor?

It seems like that could work but the rotation is off by about 90 degrees.