Quantcast
Channel: Latest Questions by superdudeman
Viewing all articles
Browse latest Browse all 22

Getting a perpendicular direction vector to the north pole on a globe

0
0
I have an object moving around freely, in any direction, on a globe. Its forward and right vectors remain perpendicular to the ground at any place on the globe as it moves. Now I would like to get the direction vector towards the north pole, but perpendicular to the ground. Getting the vector moving through the ground is easy (see below image where the blue lines do this), but how can I make it look in that general direction while keeping it perpendicular to the ground? Can I calculate this vector using the object's current forward, right and up vectors? ![alt text][1] [1]: /storage/temp/68232-capture.png

Viewing all articles
Browse latest Browse all 22

Latest Images

Trending Articles





Latest Images