Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Types | Public Member Functions | Public Attributes | List of all members
SteeringObject Class Reference

Public Types

enum  AlignmentAxis { AlignmentAxis.Forward, AlignmentAxis.Up, AlignmentAxis.Right, AlignmentAxis.None }
 
enum  ControlAxis { ControlAxis.Forward, ControlAxis.Right, ControlAxis.Up }
 

Public Member Functions

void FindAlignmentAxis (Transform referenceTransform, Transform partTransform)
 

Public Attributes

AlignmentAxis alignmentAxis = AlignmentAxis.None
 Which axis the part is aligned most with More...
 
ControlAxis controlAxis = ControlAxis.Forward
 What is the reference axis (part's forward axis) that we wish to use More...
 
Quaternion neutralAngle
 
Transform pivot
 
float wheelDriveInvert = 1f
 Optional wheel inversion value for drive systems More...
 

Member Enumeration Documentation

Enumerator
Forward 
Up 
Right 
None 
Enumerator
Forward 
Right 
Up 

Member Function Documentation

void SteeringObject.FindAlignmentAxis ( Transform  referenceTransform,
Transform  partTransform 
)
inline

Member Data Documentation

AlignmentAxis SteeringObject.alignmentAxis = AlignmentAxis.None

Which axis the part is aligned most with

ControlAxis SteeringObject.controlAxis = ControlAxis.Forward

What is the reference axis (part's forward axis) that we wish to use

Quaternion SteeringObject.neutralAngle
Transform SteeringObject.pivot
float SteeringObject.wheelDriveInvert = 1f

Optional wheel inversion value for drive systems


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