Jump to content

Body and PQS Issue


Recommended Posts

Hello again everyone,

I am currently having issues trying to revive one of my old modifications but after compiling to KSP 1.1 I have noticed that the CelestialBody.pqsController function no longer has any attached subroutines for example,

CelestialBody.pqsController.GetSurfaceHeight(Vector3d)

In KSP 1.0.5 pre Unity 5, was a valid function. However now this does not seem to exist, throwing the following error during compiling:

Error	2	'PQS' does not contain a definition for 'GetSurfaceHeight' and no extension method 'GetSurfaceHeight' accepting a first argument of type 'PQS' could be found (are you missing a using directive or an assembly reference?)	C:\Users\Marcus\Documents\KSPModding\MaritimeRelease\Source\BackgroundScene.cs	212	52	BoatNavigation

I am assuming members of this function have now been changed to Private rather than Public somewhere in the transition to Unity 5 and 1.1? Or that another reference is required from the KSP Managed folder?

If there is no apparent solution does anyone know another method of getting surface height from a vector? The vessel in question is Inactive and unloaded due to the nature of the plugin which is why I think I used this function in the first place :confused:

Whitecat106 :)

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