Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
OrbitPhysicsManager Class Reference
Inheritance diagram for OrbitPhysicsManager:

Public Member Functions

void checkReferenceFrame ()
 
void ToggleRotatingFrame ()
 

Static Public Member Functions

static void CheckReferenceFrame ()
 
static void HoldVesselUnpack (int releaseAfter=1)
 Prevent the active vessel from unpacking for a given number of physics updates More...
 
static void SetDominantBody (CelestialBody body)
 
static void SetRotatingFrame (bool rotating)
 

Public Attributes

float distantLandedPartPackThreshold = 350f
 
float distantLandedPartUnpackThreshold = 200
 
float distantPartPackThreshold = 2250f
 
float distantPartUnpackThreshold = 2000f
 
CelestialBody dominantBody
 
bool holdVesselUnpack
 
bool toggleDominantBodyRotation
 

Properties

static CelestialBody DominantBody [get]
 

Member Function Documentation

void OrbitPhysicsManager.checkReferenceFrame ( )
inline
static void OrbitPhysicsManager.CheckReferenceFrame ( )
inlinestatic
static void OrbitPhysicsManager.HoldVesselUnpack ( int  releaseAfter = 1)
inlinestatic

Prevent the active vessel from unpacking for a given number of physics updates

Parameters
releaseAfterThe number of physics updates to maintain the hold
static void OrbitPhysicsManager.SetDominantBody ( CelestialBody  body)
inlinestatic
static void OrbitPhysicsManager.SetRotatingFrame ( bool  rotating)
inlinestatic
void OrbitPhysicsManager.ToggleRotatingFrame ( )
inline

Member Data Documentation

float OrbitPhysicsManager.distantLandedPartPackThreshold = 350f
float OrbitPhysicsManager.distantLandedPartUnpackThreshold = 200
float OrbitPhysicsManager.distantPartPackThreshold = 2250f
float OrbitPhysicsManager.distantPartUnpackThreshold = 2000f
CelestialBody OrbitPhysicsManager.dominantBody
bool OrbitPhysicsManager.holdVesselUnpack
bool OrbitPhysicsManager.toggleDominantBodyRotation

Property Documentation

CelestialBody OrbitPhysicsManager.DominantBody
staticget

The documentation for this class was generated from the following file: