.. AlignZAxisWithTargetDirMatrix: ***************************** AlignZAxisWithTargetDirMatrix ***************************** Builds a matrix from two vectors. .. _inputs: Inputs ============= .. list-table:: Inputs :widths: auto :header-rows: 1 * - Name - Type - Default - Description * - target - VectorPort - V3d(0, 0, 0) - target vector * - up - VectorPort - V3d(0, 1, 0) - Up vector .. _outputs: Outputs ============= .. list-table:: Outputs :widths: auto :header-rows: 1 * - Name - Type - Default - Description * - out - MatrixPort - M44d((1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1)) - Output matrix