.. RotationWithUpDirMatrix: *********************** RotationWithUpDirMatrix *********************** Returns a matrix that rotates the "from" vector so that it points towards "to". .. _inputs: Inputs ============= .. list-table:: Inputs :widths: auto :header-rows: 1 * - Name - Type - Default - Description * - from - VectorPort - V3d(0, 0, 0) - From vector * - to - VectorPort - V3d(0, 1, 0) - To 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