Original Post
I realize this has been asked before, but looking back through so many pages I could not find a solution that actually worked, and search is basically broken.
Basically I need to orientate an object to face a point. I use 3D points but all I need is the Yaw really.
I''ve used a variety of methods found in posts here, but basically, I get a vector that is (point-currentposition), and from there, I''ve done any number of different things, the last thing was to use atan2(x, z) more or less, and convert it to degrees, which is one of the things I found in a post.
It obviously doesn''t work, so I''m looking for a relatively simple way of just getting a yaw/heading rotation with two points.
Thanks in advance.