I’m trying to find the angle between a point and the direction that the gun is facing. I’ve been able to get the angle from the initial angle to the target point, or from either the X or Y axis based on some weird vector math I most likely messed up. I haven’t been able to figure out how to find the angle based on the current direction of the gun.

Here’s a rough drawing of what I want to accomplish: