Go to:
Related nodes. Attributes.
Transform an Input matrix so that the specified Primary Axis point to the specified primaryTarget.
The secondary Target will be use optionaly to aim the secondary Axis in that general direction (up vector).
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
aimMatrix | node | math | kDependencyNode | kBase kNamedObject kDependencyNode |
Related nodes
transform
Attributes (28)
enable, envelope, inputMatrix, outputMatrix, postSpaceMatrix, preSpaceMatrix, primary, primaryInputAxis, primaryInputAxisX, primaryInputAxisY, primaryInputAxisZ, primaryMode, primaryTargetMatrix, primaryTargetVector, primaryTargetVectorX, primaryTargetVectorY, primaryTargetVectorZ, secondary, secondaryInputAxis, secondaryInputAxisX, secondaryInputAxisY, secondaryInputAxisZ, secondaryMode, secondaryTargetMatrix, secondaryTargetVector, secondaryTargetVectorX, secondaryTargetVectorY, secondaryTargetVectorZ
Long name (short name) | Type | Default | Flags |
---|
|
enable
(enb )
| bool | true |     |
|
|
envelope
(env )
| double | 1.0 |     |
|
|
inputMatrix
(imat )
| matrix | identity |      |
|
|
outputMatrix
(tmat )
| matrix | identity |   |
|
|
postSpaceMatrix
(pstmat )
| matrix | identity |     |
|
|
preSpaceMatrix
(premat )
| matrix | identity |     |
|
|
primary
(pm )
| compound | n/a |     |
|
| primaryInputAxis
(pmi )
| double3 | |      | |
| primaryInputAxisX
(pmx )
| double | 1.0 |     | |
| | primaryInputAxisY
(pmy )
| double | 0.0 |     | |
| | primaryInputAxisZ
(pmz )
| double | 0.0 |     | |
|
|
|
| primaryTargetVector
(pmiv )
| double3 | |     | |
| primaryTargetVectorX
(pmvx )
| double | 0.0 |     | |
| | primaryTargetVectorY
(pmvy )
| double | 0.0 |     | |
| | primaryTargetVectorZ
(pmvz )
| double | 0.0 |     | |
|
|
| primaryTargetMatrix
(pmat )
| matrix | identity |     | |
|
|
secondary
(sc )
| compound | n/a |      |
|
| secondaryInputAxis
(smi )
| double3 | |     | |
| secondaryInputAxisX
(smx )
| double | 0.0 |     | |
| | secondaryInputAxisY
(smy )
| double | 1.0 |     | |
| | secondaryInputAxisZ
(smz )
| double | 0.0 |     | |
|
|
|
| secondaryTargetVector
(smiv )
| double3 | |     | |
| secondaryTargetVectorX
(smvx )
| double | 0.0 |     | |
| | secondaryTargetVectorY
(smvy )
| double | 0.0 |     | |
| | secondaryTargetVectorZ
(smvz )
| double | 0.0 |     | |
|
|
| secondaryTargetMatrix
(smat )
| matrix | identity |     | |
|