Hey all, I was wondering if anyone knows what's happening here.
I'm trying to manually modify an object's position, rotation and scale by overriding it's world matrix, but depending on it's position relative to the camera, it seems to not appear sometimes.
First, I'm saying to the object I want to override it's matrix, then later simply applying a matrix to it:
// Creating object
dbGetObject(objNo)->pFrame->bOverride = true;
// Later, when updating object
dbGetObject(objNo)->pFrame->matOverride = matWorld;
Note that this does position, rotate and scale the object properly, but I have a suspicion it has something to do with the camera's view matrix or something.
Any help would be appreciated.
"everyone forgets a semi-colon sometimes." - Phaelax