Child Mesh Postion does not seem right


As in the image , I use mesh.absolutePosition.x to find the positions of the little boxex on the wall and then attach a axis to them, but the axis’s positions are not aligned to the boxes. Below is my glb file.
slot.zip (137.6 KB)

Try to call mesh.computeWorldMatrix(true) before accessing the mesh.absolutePosition property.

If that does not work I think we will need a repro to see the code you are using.

1 Like