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

Static Public Member Functions

static void SetTargetRotation (this ConfigurableJoint joint, Quaternion targetWorldRotation, Quaternion startWorldRotation)
 Sets a joint's targetRotation to match a given world rotation. The joint transform's world rotation must be cached on Start and passed into this method. More...
 
static void SetTargetRotationLocal (this ConfigurableJoint joint, Quaternion targetLocalRotation, Quaternion startLocalRotation)
 Sets a joint's targetRotation to match a given local rotation. The joint transform's local rotation must be cached on Start and passed into this method. More...
 

Member Function Documentation

static void ConfigurableJointExtensions.SetTargetRotation ( this ConfigurableJoint  joint,
Quaternion  targetWorldRotation,
Quaternion  startWorldRotation 
)
inlinestatic

Sets a joint's targetRotation to match a given world rotation. The joint transform's world rotation must be cached on Start and passed into this method.

static void ConfigurableJointExtensions.SetTargetRotationLocal ( this ConfigurableJoint  joint,
Quaternion  targetLocalRotation,
Quaternion  startLocalRotation 
)
inlinestatic

Sets a joint's targetRotation to match a given local rotation. The joint transform's local rotation must be cached on Start and passed into this method.


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