Hi,
I am building my application on top of this playground example: https://www.babylonjs-playground.com/#KVZI50#135
I want to move the 3D object on hit test location, but I don’t want to change my model’s scale value.
I have scaled down my model in the beginning to 0.5.
But, during hit test in WebXR, I suppose the below line is increasing my model size to double.
hitTest.transformationMatrix.decompose(b.scaling, b.rotationQuaternion, b.position);
So, is there any way by which I can get the translation, rotation and scale vectors from this transformation matrix and control my model as per my choice?
Below image shows my transformation matrix values: