API:Krakensbane

From Kerbal Space Program Wiki
Revision as of 09:37, 21 April 2013 by RevoluPowered (talk | contribs) (Updated the fields, they were missing some, I'm going to do the static methods soon!)
Jump to: navigation, search

Krakensbane Class

Inherits Implements
  • MonoBehaviour
This article is a stub. You can help KSP Wiki by expanding it.

No summary has been written for this class.

Fields

The following is a list of publically-accessible fields in Krakensbane. This includes protected items, which can be accessed by subclasses.

Signature Description
Vector3d RBVel
Vector3d excessV
Vector3d lastCorrection
Vector3d MaxV The value of this is 750f, by default. I'm not sure if its constant.
Vector3d FrameVel
Vector3d totalVel

Methods

The following are methods included in Krakensbane.

Signature Description
static Vector3d GetFrameVelocity() Returns the velocity of the Krakensbane velocity frame.
static void ResetVelocityFrame() sets the frame velocity back to 0m/s. Use this if setting the worldspace velocity of vessels directly.
static Vector3 GetFrameVelocityV3f() Returns the velocity of the Krakensbane velocity frame as a single-precision vector.
static Vector3d GetLastCorrection() Returns the last velocity correction performed.
void setOffset()