Issues getting relative pose between object with matrices

I’m trying to get the pose of one object relative to another with matrix operations, but I’m not able to. It seems like the matrix multiplication is not being performed the right way. What am I doing wrong?

The matrices have not been computed yet I believe. you could try the following:


Thank you @sebavan! Applying computeWorldMatrix() and inverting the order of the multiplication solved the issue.