Download

Set facing rotation using the angle between two vectors

I would like to mark two locations on a map then have the object move along those. I can do that but I am having trouble solving the rotation transform to make sure its facing the direction its headed in.
So starts at Point A, Move to and Faces point B.

I know this should be a simple math solution but i keep getting the wrong results.

thanks