Hi community,
I am trying to convert a closestPoint from MMeshIntersector to worldSpace but it doesn't seem to work and I can't figure out why.
I have a direct connection to my deformer to get the wordMatrix of my influence. for test purpose everything is at the origin. My worldSpace matrix is [[1,0,0,0], [0,1,0,0], [0,0,1,0], [0,0,0,1]] (i can see it in my matricesArray attribute) which seems correct. but when I print my matrix, it prints : [[5.26354e-315, 0, 0.0078125, 0], [0, 5.26354e-315, 0, 0.0078125], [4.24399e-314, 5.26354e-315, 0, 0.0078125], [0, 0, 5.26354e-315, 0]]
I assume this is wrong ...
here is how I access my matrix data :
MArrayDataHandle h_influencesMatrix = data.inputArrayValue(a_infWorldMatrices, &status);
h_influencesMatrix.jumpToElement(infIndex);
MMatrix m_influenceWorldSpace = h_influencesMatrix.inputValue().asMatrix();
Can't figure out why I have this difference ...
Thx