Download

Rotation Direction

So I have an actor that rotates around my player pawn. Depending on where the player is, the actor will rotate in a different direction, clockwise or counterclockwise. I’m trying to change the pitch and roll depending on with direction it’s rotating. But I can’t figure out how to detect which direction it’s rotating in. Anyone know a good way to do this?
Thanks!

Still haven’t found a good way to accomplish this. Anyone have some suggestions?

Is your actor attached to your pawn via blueprint, or are you attaching it on the fly in the game?

No, its not attached at all. The actor has it’s own blueprint! I need to change the Roll depending on the Yaw value. At first i though the Yaw values would return between 0 and 360, but the engine returns them at 0 to 180 and -0 to -180. So this has caused issues with my setup. Wanted to see if there was a way to deal with this, or do i need to take a different approach.