Hello, Can someone help me with my problem? I have a case where I have an asset and its parent is Object3D when I pick up an object with a raycaster and move it and then pick it again the box helper which added to Object3D is not in his place have any idea why it’s happening like that???
And one more thing after loading the model I correct its pivot like so
function PivotCorection(object) {
let box3 = new THREE.Box3().setFromObject(object);
let shift = box3.getCenter();
object.position.sub(shift);
// object.position.set(0, 0, 0);
let pivot = new THREE.Object3D();
pivot.add(object);
return pivot;
}