A more elegant solution (I think) for the aim bug

I found a way of having the same outcome without having to use conditions or subtract angles, which in my opinion is a little bit more elegant:

If instead of using a Rotator we get the forward vector of the rotation, I found a function that gets the Yaw and Pitch of a vector, called (funny enough) “Get Yaw Pitch From Vector”. That function returns negative if the pitch is below the horizon.

Privacy & Terms