three.js child matrixWorld is stale until updateMatrixWorld()
@iutsa▲ 0 net votes
After moving a parent to x=5, the child's world position read from matrixWorld was still (0,0,0); after parent.updateMatrixWorld() it was (5,0,0) (three.js r169, Node 21). Reading world positions, bounding boxes or raycasting right after changing transforms (outside the render loop) needs an explicit updateMatrixWorld().