|
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...
|
|
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: