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 | Protected Member Functions | Properties | List of all members
PartJoint Class Reference
Inheritance diagram for PartJoint:

Public Member Functions

void DestroyJoint ()
 
Vector3 JointToLocalSpaceDir (Vector3 dir)
 
Vector3 JointToLocalSpacePos (Vector3 pos)
 
Quaternion JointToLocalSpaceRot (Quaternion rot)
 
Vector3 LocaltoJointSpaceDir (Vector3 dir)
 
Vector3 LocaltoJointSpacePos (Vector3 pos)
 
Quaternion LocaltoJointSpaceRot (Quaternion rot)
 
void OnDestroy ()
 
void OnPartPack ()
 
void OnPartUnpack ()
 
void SetBreakingForces (float breakForce, float breakTorque)
 
void SetUnbreakable (bool unbreakable, bool forceRigid)
 

Static Public Member Functions

static PartJoint Create (Part owner, Part parent, AttachNode nodeToParent, AttachNode nodeFromParent, AttachModes mode)
 
static Vector3 JointToLocalSpaceDir (Vector3 dir, PartJoint joint)
 
static Vector3 JointToLocalSpacePos (Vector3 pos, PartJoint joint)
 
static Quaternion JointToLocalSpaceRot (Quaternion rot, PartJoint joint)
 
static Vector3 LocaltoJointSpaceDir (Vector3 dir, PartJoint joint)
 
static Vector3 LocaltoJointSpacePos (Vector3 pos, PartJoint joint)
 
static Quaternion LocaltoJointSpaceRot (Quaternion rot, PartJoint joint)
 

Public Attributes

List< ConfigurableJoint > joints
 

Protected Member Functions

void SetJointLimits (ConfigurableJoint newJoint, bool rigidAttach)
 

Properties

Vector3 Axis [get]
 
Part Child [get]
 
Part Host [get]
 
Vector3 HostAnchor [get]
 
ConfigurableJoint Joint [get]
 
Part Parent [get]
 
Vector3 SecAxis [get]
 
float stiffness [get, set]
 
Part Target [get]
 
Vector3 TgtAnchor [get]
 

Member Function Documentation

static PartJoint PartJoint.Create ( Part  owner,
Part  parent,
AttachNode  nodeToParent,
AttachNode  nodeFromParent,
AttachModes  mode 
)
inlinestatic
void PartJoint.DestroyJoint ( )
inline
Vector3 PartJoint.JointToLocalSpaceDir ( Vector3  dir)
inline
static Vector3 PartJoint.JointToLocalSpaceDir ( Vector3  dir,
PartJoint  joint 
)
inlinestatic
Vector3 PartJoint.JointToLocalSpacePos ( Vector3  pos)
inline
static Vector3 PartJoint.JointToLocalSpacePos ( Vector3  pos,
PartJoint  joint 
)
inlinestatic
Quaternion PartJoint.JointToLocalSpaceRot ( Quaternion  rot)
inline
static Quaternion PartJoint.JointToLocalSpaceRot ( Quaternion  rot,
PartJoint  joint 
)
inlinestatic
Vector3 PartJoint.LocaltoJointSpaceDir ( Vector3  dir)
inline
static Vector3 PartJoint.LocaltoJointSpaceDir ( Vector3  dir,
PartJoint  joint 
)
inlinestatic
Vector3 PartJoint.LocaltoJointSpacePos ( Vector3  pos)
inline
static Vector3 PartJoint.LocaltoJointSpacePos ( Vector3  pos,
PartJoint  joint 
)
inlinestatic
Quaternion PartJoint.LocaltoJointSpaceRot ( Quaternion  rot)
inline
static Quaternion PartJoint.LocaltoJointSpaceRot ( Quaternion  rot,
PartJoint  joint 
)
inlinestatic
void PartJoint.OnDestroy ( )
inline
void PartJoint.OnPartPack ( )
inline
void PartJoint.OnPartUnpack ( )
inline
void PartJoint.SetBreakingForces ( float  breakForce,
float  breakTorque 
)
inline
void PartJoint.SetJointLimits ( ConfigurableJoint  newJoint,
bool  rigidAttach 
)
inlineprotected
void PartJoint.SetUnbreakable ( bool  unbreakable,
bool  forceRigid 
)
inline

Member Data Documentation

List<ConfigurableJoint> PartJoint.joints

Property Documentation

Vector3 PartJoint.Axis
get
Part PartJoint.Child
get
Part PartJoint.Host
get
Vector3 PartJoint.HostAnchor
get
ConfigurableJoint PartJoint.Joint
get
Part PartJoint.Parent
get
Vector3 PartJoint.SecAxis
get
float PartJoint.stiffness
getset
Part PartJoint.Target
get
Vector3 PartJoint.TgtAnchor
get

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