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 (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)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) matrixidentityoutputinputconnectablestorablekeyable
Input matrix that represent initial state.
outputMatrix (tmat) matrixidentityoutputconnectable
Input matrix aimed toward specified Axis.
postSpaceMatrix (pstmat) matrixidentityoutputinputconnectablestorable
Transform the computed result so that the output is in another space.
preSpaceMatrix (premat) matrixidentityoutputinputconnectablestorable
Transform the input matrices so that the calculation takes place in another space.
primary (pm) compoundn/aoutputinputconnectablestorable
Primary aims setting to specify how to aim the input matrix.
primaryInputAxis (pmi) double3outputinputconnectablestorablekeyable
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
The matrix representing the position of the primary target. Will use only the translation part of the matrix to deduce aim vector.
secondary (sc) compoundn/aoutputinputconnectablestorablekeyable
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
The matrix representing the position of the secondary target.