Say I have two 3d vectors, how do I get the 3 separate angles between the two positions?
For example I want the second object to always be pointing towards the first!
Say I have two 3d vectors, how do I get the 3 separate angles between the two positions?
For example I want the second object to always be pointing towards the first!
Here’s a little something to point / aim one object at another… Say like a gun turret.
Now, when I go to apply the previous ‘working’ method to a camera I get errors?
EDIT:
I’m after the camera pointing at the empty whilst rotating using Q and W, as well as whilst moving using all the arrow keys.