InverseTransformRotation(int, quaternion)
Transforms a rotation in character space to local space. You can perform the opposite conversion, from local to character space using AnimationStream.TransformRotation.
Read time 1 minuteLast updated 4 hours ago
Definition
- Type: Method
- Namespace: Unity.Animations
- Assembly: UnityEngine.AnimationCoreModule
public readonly quaternion InverseTransformRotation(int index, quaternion rotation)
Parameters
The index of the bone in Skeleton.Ids, for example from Skeleton.FindBoneIndex.
The rotation in character space to transform.
Returns
Type | Description |
|---|---|
| quaternion | The rotation in local space. |