Go to: Related nodes. Attributes.
Compute the rotation angles (eulerX, eulerY, eulerZ) or an axis
(axisX, axisY, axisZ) and an angle (angle) that will rotate
(normalized) vector1 into vector2.
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
angleBetween |
dependNode |
utility/general |
kAngleBetween |
kBase
kNamedObject
kDependencyNode
kAngleBetween |
Related nodes
addDoubleLinear, addMatrix, multMatrix, fourByFourMatrix, wtAddMatrix, multDoubleLinear, pointMatrixMult
Attributes (18)
angle, axis,
axisAngle, axisX, axisY, axisZ, euler, eulerX, eulerY,
eulerZ, vector1, vector1X,
vector1Y, vector1Z, vector2,
vector2X, vector2Y, vector2Z
Long name (short name) |
Type |
Default |
Flags |
|
vector1
(v1 ) |
double3 |
|
|
|
vector1X
(v1x ) |
distance
(double) |
0.0cm |
|
|
|
vector1Y
(v1y ) |
distance
(double) |
1.0cm |
|
|
|
vector1Z
(v1z ) |
distance
(double) |
0.0cm |
|
|
|
vector2
(v2 ) |
double3 |
|
|
|
vector2X
(v2x ) |
distance
(double) |
0.0cm |
|
|
|
vector2Y
(v2y ) |
distance
(double) |
0.0cm |
|
|
|
vector2Z
(v2z ) |
distance
(double) |
1.0cm |
|
|
|
euler
(eu ) |
double3 |
|
|
|
eulerX
(eux ) |
angle (double) |
0.0deg |
|
|
|
eulerY
(euy ) |
angle (double) |
0.0deg |
|
|
|
eulerZ
(euz ) |
angle (double) |
0.0deg |
|
|
|
axisAngle
(axa ) |
compound |
n/a |
|
|
axis
(ax ) |
double3 |
0.0, 0.0, 1.0 |
|
|
axisX
(axx ) |
distance
(double) |
0.0cm |
|
|
|
axisY
(axy ) |
distance
(double) |
0.0cm |
|
|
|
axisZ
(axz ) |
distance
(double) |
1.0cm |
|
|
|
|
angle
(a ) |
angle (double) |
0.0deg |
|
|