Ive been trying to figure out how to show the direction of wind in my 3d game. I have a 2d UI Image and im changing the z rotation based on the angle of the wind and ball.
The problem Im having is when I rotate the ball right a would think the arrow should rotate left but it is also rotating right. Ive been googling this for the past 2 days and really need some help.
This doesn’t work. I noticed that when I rotate the z axis over 45 degrees either way it messes up the angle. Ive tried everything I can think of all day. any help would be great.