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.VPVehicleJoint Class Reference
Inheritance diagram for VehiclePhysics.VPVehicleJoint:

Classes

class  AngularJointMotion
 
class  JointMotion
 

Public Types

enum  DebugLabel { DebugLabel.None, DebugLabel.ForceAndTorque, DebugLabel.MassAndInertia }
 
enum  MatchInertiaMode { MatchInertiaMode.None, MatchInertiaMode.ConnectedMasses, MatchInertiaMode.ConnectedInertia }
 
enum  UpdateMode { UpdateMode.OnEnable, UpdateMode.OnFixedUpdate, UpdateMode.OnFixedUpdateInEditorOnly }
 

Public Attributes

AngularJointMotion angularXMotion
 
AngularJointMotion angularYMotion
 
AngularJointMotion angularZMotion
 
DebugLabel debugLabel = DebugLabel.None
 
bool enableCollision = true
 
float matchInertiaFactor = 1.0f
 
MatchInertiaMode matchInertiaMode = MatchInertiaMode.None
 
Transform otherAnchor
 
bool propagateIsKinematic = false
 
bool resetFrameOnEnable = false
 
bool resetInertiaOnDisable = false
 
bool restorePoseOnDisable = false
 
Vector3 targetPosition = Vector3.zero
 
Quaternion targetRotation = Quaternion.identity
 
Transform thisAnchor
 
UpdateMode updateMode = UpdateMode.OnEnable
 
JointMotion xMotion
 
JointMotion yMotion
 
JointMotion zMotion
 

Properties

Vector3 otherAnchorPosition [get, set]
 
Vector3 referencePosition [get]
 
Quaternion referenceRotation [get]
 
Vector3 thisAnchorPosition [get, set]
 

Member Enumeration Documentation

Enumerator
None 
ForceAndTorque 
MassAndInertia 
Enumerator
None 
ConnectedMasses 
ConnectedInertia 
Enumerator
OnEnable 
OnFixedUpdate 
OnFixedUpdateInEditorOnly 

Member Data Documentation

AngularJointMotion VehiclePhysics.VPVehicleJoint.angularXMotion
AngularJointMotion VehiclePhysics.VPVehicleJoint.angularYMotion
AngularJointMotion VehiclePhysics.VPVehicleJoint.angularZMotion
DebugLabel VehiclePhysics.VPVehicleJoint.debugLabel = DebugLabel.None
bool VehiclePhysics.VPVehicleJoint.enableCollision = true
float VehiclePhysics.VPVehicleJoint.matchInertiaFactor = 1.0f
MatchInertiaMode VehiclePhysics.VPVehicleJoint.matchInertiaMode = MatchInertiaMode.None
Transform VehiclePhysics.VPVehicleJoint.otherAnchor
bool VehiclePhysics.VPVehicleJoint.propagateIsKinematic = false
bool VehiclePhysics.VPVehicleJoint.resetFrameOnEnable = false
bool VehiclePhysics.VPVehicleJoint.resetInertiaOnDisable = false
bool VehiclePhysics.VPVehicleJoint.restorePoseOnDisable = false
Vector3 VehiclePhysics.VPVehicleJoint.targetPosition = Vector3.zero
Quaternion VehiclePhysics.VPVehicleJoint.targetRotation = Quaternion.identity
Transform VehiclePhysics.VPVehicleJoint.thisAnchor
UpdateMode VehiclePhysics.VPVehicleJoint.updateMode = UpdateMode.OnEnable
JointMotion VehiclePhysics.VPVehicleJoint.xMotion
JointMotion VehiclePhysics.VPVehicleJoint.yMotion
JointMotion VehiclePhysics.VPVehicleJoint.zMotion

Property Documentation

Vector3 VehiclePhysics.VPVehicleJoint.otherAnchorPosition
getset
Vector3 VehiclePhysics.VPVehicleJoint.referencePosition
get
Quaternion VehiclePhysics.VPVehicleJoint.referenceRotation
get
Vector3 VehiclePhysics.VPVehicleJoint.thisAnchorPosition
getset

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