Nevermind, with thanks to a friend I found out how to do it simply, for those interested:
Where X Y and Z are the co-ordinates of the GPS you want to rotate around, Bearing and Elevation are from the pod controller, and Dist is the distance you want the camera to orbit at. A B and C go into X Y and Z on the cam controller respectively, Pitch and Yaw go into the cam controller likewise.Code:N@CameraOrbit I@X Y Z Bear Elev Dist O@A B C Pitch Yaw A = X + -Dist * cos(Elev) * cos(Bear) B = Y + -Dist * cos(Elev) * sin(Bear) C = Z + -Dist * sin(Elev) Pitch = -Elev Yaw = Bear


LinkBack URL
About LinkBacks




Reply With Quote








Bookmarks