From 3029227e743940611fc617f22136776c9aa94d63 Mon Sep 17 00:00:00 2001 From: netpro2k <netpro2k@gmail.com> Date: Wed, 18 Jul 2018 16:21:24 -0700 Subject: [PATCH] This extra updateMatrixWorld breaks object offsets. This is problematic for other reasons, but the original reason it was added seems to be resovled, so removing it --- src/utils/auto-box-collider.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils/auto-box-collider.js b/src/utils/auto-box-collider.js index dcabfb3c0..12fccbb4d 100644 --- a/src/utils/auto-box-collider.js +++ b/src/utils/auto-box-collider.js @@ -7,7 +7,6 @@ export function getBox(entity, boxRoot) { box.expandByObject = expandByObject; box.setFromObject(boxRoot); entity.object3D.rotation.copy(rotation); - entity.object3D.updateMatrixWorld(true); return box; } -- GitLab