- I have an object (Wind) that rotates (only yaw/Z) in the world. Currently, I’m getting its rotation as -180 to +180.
- I have an object (Ship) that gets X input between -1 and 1, and Y input between -1 and 1.
What I would like to do is check how close the “direction” of my X/Y object is to the first one.
Example: If the Wind direction is 0, Ship-X is +1 and Ship-Y is 0 - The “Match” would be 1.
What is the best way to do that?
I’m having a hard time since they’re in different forms.