Jump to content

Vessel.getDeltaV() always returns 0


Recommended Posts

I've grabbed the Active Vessel from FlightGlobals and am getting correct mass and position values back, but getDeltaV() is always returning 0.

I'm also noticing it's not on the community wiki. Is this function just bogus?

If so I can just calculate dV with wet/dry mass, but I'd also need the ISP of the engine/s. How would I go about traversing the vessel parts and figure out which is an engine?

Link to comment
Share on other sites

Because computing the delta V is complex. You need to know which fuels tank provides fuel to which engines, how long each one will procide that fuel, when you think the player want to stage, the mass before and after each stage, ...

If it was a simple d = F / m it would have been stock for a while.

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...