SetNodeValueMatrix(fsel, "Matrix", Node.Value(fsel,"WldMatrix"));
Code: Select all
function SetNodeValueMatrix(node, conn, matrix)
{
util.SetNodeValueMatrix(node, conn,
matrix.GetAt(0,0), matrix.GetAt(1,0), matrix.GetAt(2,0), matrix.GetAt(3,0),
matrix.GetAt(0,1), matrix.GetAt(1,1), matrix.GetAt(2,1), matrix.GetAt(3,1),
matrix.GetAt(0,2), matrix.GetAt(1,2), matrix.GetAt(2,2), matrix.GetAt(3,2),
matrix.GetAt(0,3), matrix.GetAt(1,3), matrix.GetAt(2,3), matrix.GetAt(3,3)
);
}