After using the above, my function below moves the node faster than it should. I would like to scale the node but leave its coordinate matrix the same.
Code: Select all
D_VECT3Df dest = D_VECT3Df(x,y,z);
D_MATRIX4 mat = node->getRelativeTransformation();
mat.transformVect(dest);
node->setPosition(dest);