Hello,
I have a problem with Vector3.Angle() function.
I’m using it to drive a ship. I need to rotate it to point a specific way-point (the ship must go, slowly, to the waypoint).
The problem is Angle() does not give me the sign. For example, if the waypoint is on the right of my ship, Angle() give me “90 degrees”. But I get same result if my waypoint is on the left!
It means I cannot find the right rotation direction, and sometimes it seems the commander of my ship is a “mad”
In fact it starts to rotate making the longer rotation.
I hope I was clear in my explanation ![]()
Can you give me a small hint just to quickly discover rotation direction based on ship “Forward” (direction)?
Thank you!