Hello,
I'm creating a relatively simple mod that allows the user to point at a certain position on the navball, and it is proving way harder than I thought. I've looked at mechjeb's smart A.S.S code and can't make any sense of it due to the way it calls vars from other classes. I'm essentially wanting to move from one point on the navball to the other. I've tried a bunch of things (including inverting quaternions to manage differences between srfRot and worldRot) but I'm getting nowhere. The vehicle just seems to move around randomly and sometimes fails to work altogether.
Can anybody point me to a thread/ github repo/ their personal experience?
I don't want the vessel to jump to the specified angle, it should move to it, much like pointing at prograde or any other vector using SAS.
Super confused on this one.
Thanks in advance!