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

Classes

class  HorizontalMotion
 
class  VerticalMotion
 

Public Types

enum  UpdateMode { UpdateMode.OnEnable, UpdateMode.OnFixedUpdate, UpdateMode.OnFixedUpdateInEditorOnly }
 

Public Attributes

float inertialMass = 0.5f
 
HorizontalMotion lateral
 
HorizontalMotion longitudinal
 
float maxDistance = 0.2f
 
float maxTiltAngle = 10.0f
 
float tiltRadius = 0.5f
 
UpdateMode updateMode = UpdateMode.OnEnable
 
bool useGravity = true
 
VerticalMotion vertical
 

Properties

Vector3 localPosition [get, set]
 
Rigidbody motionBody [get]
 

Member Enumeration Documentation

Enumerator
OnEnable 
OnFixedUpdate 
OnFixedUpdateInEditorOnly 

Member Data Documentation

float VehiclePhysics.VPHeadMotion.inertialMass = 0.5f
HorizontalMotion VehiclePhysics.VPHeadMotion.lateral
HorizontalMotion VehiclePhysics.VPHeadMotion.longitudinal
float VehiclePhysics.VPHeadMotion.maxDistance = 0.2f
float VehiclePhysics.VPHeadMotion.maxTiltAngle = 10.0f
float VehiclePhysics.VPHeadMotion.tiltRadius = 0.5f
UpdateMode VehiclePhysics.VPHeadMotion.updateMode = UpdateMode.OnEnable
bool VehiclePhysics.VPHeadMotion.useGravity = true
VerticalMotion VehiclePhysics.VPHeadMotion.vertical

Property Documentation

Vector3 VehiclePhysics.VPHeadMotion.localPosition
getset
Rigidbody VehiclePhysics.VPHeadMotion.motionBody
get

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