SDK Question Matching velocities with another vessel

Ragtag

New member
Joined
Aug 7, 2008
Messages
156
Reaction score
1
Points
0
Location
House
What I wanted to do was to be able to match velocities with another vessel that I'm approaching to dock with.

I tried to use GetGlobalVel on the target vessel and then copy the values to the focus vessel but it doesn't work as I shoot off quite quickly generally in the direction I'm pointed. I'm not sure why that wouldn't work unless I'm completely mis-interpreting the global velocity which is more than likely.

Any hints on matching the velocities of two vessels?
 
Have a look at the code of Precession MFD, specifically the variables output in the INTERCEPT_PG. As of now I haven't converted the conjunction -relative velocity vector into a quaternion/Euler angle doublet/triplet, on the todo list.
 
Thanks,
I just came back to say I realize why just using the global velocities doesn't work but that doesn't solve my problem. I take a look at your stuff. Thanks again.

---------- Post added 12-16-10 at 10:57 AM ---------- Previous post was 12-15-10 at 02:52 PM ----------

Thanks for the help although I didn't look at your code.
I'm all set now I was just having a major brain freeze at the time and just couldn't make sense of what was needed. It turned out to be pretty simple really.
 
Brain Freeze is evil! :dry:
 
Back
Top