Method | Description | |
---|---|---|
FromToAroundAxis ( |
Froms to around axis creates a FromToRotation, but makes sure it's axis remains fixed near to the Quaternion singularity point.
|
|
FromToRotation ( |
Gets the Quaternion from rotation "from" to rotation "to".
|
|
GetAxis ( |
Gets the closest direction axis to a vector. Input vector must be normalized!
|
|
RotationToLocalSpace ( |
Gets the rotation that can be used to convert a rotation from one axis space to another.
|
public static FromToAroundAxis ( |
||
fromDirection | /// From direction. /// | |
toDirection | /// To direction. /// | |
axis | /// Axis. Should be normalized before passing into this method. /// | |
return |
public static FromToRotation ( |
||
from | ||
to | ||
return |
public static GetAxis ( |
||
v | ||
return |
public static RotationToLocalSpace ( |
||
space | ||
rotation | ||
return |