Hello mathematically-skilled people, :hello:
On my current addon-developpement work, I need to determine if a ship A is pointing at another ship B.
I've got the distance of the ship B relative to the ship A (from their global ecliptic positions), and even calculated the relative rotation angles on the Y & X axis of ship A (when A is perfectly pointing at B, those angles are equal to 0°).
I wonder what would be the mathematical approach to solve that problem. :hmm:
Any suggestions ? :tiphat:
On my current addon-developpement work, I need to determine if a ship A is pointing at another ship B.
I've got the distance of the ship B relative to the ship A (from their global ecliptic positions), and even calculated the relative rotation angles on the Y & X axis of ship A (when A is perfectly pointing at B, those angles are equal to 0°).
I wonder what would be the mathematical approach to solve that problem. :hmm:
Any suggestions ? :tiphat: