Arrows Pointing Towards Each Other

game

This is a simple example of how trigonometry can be used to control the rotation of objects so that they can be pointed at other objects. One arrow is stationary, the other moves with the mouse. No matter where you move the mouse, the arrows will continue to point in the direction of the other.

Developer: Trevor McCauley
Language: en