A built in function for finding the rotation between two points?
by Josias Gibbs · in Torque Game Engine · 09/06/2008 (1:11 pm) · 2 replies
Is there a built in function for TGB that takes two sets of x,y coordinates, and returns the rotation from the first one to the second one? (ie: I have a ship that needs to fly toward a planet, and I need to have the ship rotate toward the planet.)
I could write the function myself - but it seems like the sort of function that would already be implemented - is it?
I could write the function myself - but it seems like the sort of function that would already be implemented - is it?
About the author
Associate James Ford
Sickhead Games