Jump to content

What IS Prograde?


Recommended Posts

So, I'm trying to develop a sci-fi inspired "Inertial Brake" mod, that will ideally find the current vessels prograde vector, and it's speed, and then "magically" apply a PID-controlled counterforce/resistance to the craft to slow it to a set speed. My issue is figuring out exactly which of the vaguely defined variables in the vessel API is what I'm looking for. So far the most likely candidates are srf_Velocity, srfRelRotation, and srfSpeed. If anyone has any insight/experience with these, or has an idea on how to find these variables, I'd greatly appreciate the guidance.

Link to comment
Share on other sites

10 hours ago, HebaruSan said:

...out of date wiki docs...

My money's on GetObtVelocity() or velocityD.

That would explain a lot of my confusion and frustration. As for the variables you mentioned, I can logically suss out what GetObtVelocity() would get me, but velocityD isn't as well described. Can you help pre-enlighten me as to what it is before I experiment with it?

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...