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 nameParentsClassificationMFn typeCompatible function sets
aimMatrixnodemathkDependencyNodekBase
kNamedObject
kDependencyNode

Related nodes

transform

Attributes (26)

enable, envelope, inputMatrix, outputMatrix, 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)TypeDefaultFlags
enable (enb) booltrueoutputinputconnectablestorable
if false, outputMatix will be set to inputMatrix, otherwise aim with target will happen.
envelope (env) double1.0outputinputconnectablestorable
Envelope represents the blend factor that represent how much of the aim rotation will be applied.
inputMatrix (imat) matrixidentityoutputinputconnectablestorable
Input matrix that represent initial state.
outputMatrix (tmat) matrixidentityoutputconnectable
Input matrix aimed toward specified Axis.
primary (pm) compoundn/aoutputinputconnectablestorable
Primary aims setting to specify how to aim the input matrix.
primaryInputAxis (pmi) double3outputinputconnectablestorable
Primary Axis in InputMatrix Space to aim toward the primary target.
primaryInputAxisX (pmx) double1.0outputinputconnectablestorable
Primary Axis x component in InputMatrix Space to aim toward the primary target.
primaryInputAxisY (pmy) double0.0outputinputconnectablestorable
Primary Axis y component in InputMatrix Space to aim toward the primary target.
primaryInputAxisZ (pmz) double0.0outputinputconnectablestorable
Primary Axis z component in InputMatrix Space to aim toward the primary target.
primaryMode (prmd) enum1outputinputconnectablestorable
Primary mode, it specifiex how Secondary Input will be used.
primaryTargetVector (pmiv) double3outputinputconnectablestorable
Primary Axis in TargetMatrix Space to aim toward the primary target.
primaryTargetVectorX (pmvx) double0.0outputinputconnectablestorable
Primary Axis x component in TargetMatrix Space to aim toward the primary target.
primaryTargetVectorY (pmvy) double0.0outputinputconnectablestorable
Primary Axis y component in TargetMatrix Space to aim toward the primary target.
primaryTargetVectorZ (pmvz) double0.0outputinputconnectablestorable
Primary Axis z component in TargetMatrix Space to aim toward the primary target.
primaryTargetMatrix (pmat) matrixidentityoutputinputconnectablestorable
Will use only the translation part of that matrix to deduce aim vector.
secondary (sc) compoundn/aoutputinputconnectablestorable
Secondary aims setting to specify how to aim the input matrix.
secondaryInputAxis (smi) double3outputinputconnectablestorable
Secondary Axis in InputMatrix Space to aim toward the secondary target.
secondaryInputAxisX (smx) double0.0outputinputconnectablestorable
Secondary Axis x component in InputMatrix Space to aim toward the secondary target.
secondaryInputAxisY (smy) double1.0outputinputconnectablestorable
Secondary Axis y component in InputMatrix Space to aim toward the secondary target.
secondaryInputAxisZ (smz) double0.0outputinputconnectablestorable
Secondary Axis z component in InputMatrix Space to aim toward the secondary target.
secondaryMode (sm) enum0outputinputconnectablestorable
Secondary mode, it specifiex how Secondary Input will be used.
secondaryTargetVector (smiv) double3outputinputconnectablestorable
Secondary Axis in TargetMatrix Space to aim toward the secondary target.
secondaryTargetVectorX (smvx) double0.0outputinputconnectablestorable
Secondary Axis x component in TargetMatrix Space to aim toward the secondary target.
secondaryTargetVectorY (smvy) double0.0outputinputconnectablestorable
Secondary Axis y component in TargetMatrix Space to aim toward the secondary target.
secondaryTargetVectorZ (smvz) double0.0outputinputconnectablestorable
Secondary Axis z component in TargetMatrix Space to aim toward the secondary target.
secondaryTargetMatrix (smat) matrixidentityoutputinputconnectablestorable
Will use only the translation part of that matrix to deduce aim vector.