From 00bb56fee80080c803ec6ecb892bb3719f09c845 Mon Sep 17 00:00:00 2001 From: Thomas FORGIONE Date: Mon, 22 Jun 2015 14:44:01 +0200 Subject: [PATCH] Corrected collision bug --- js/prototype/initScene.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/prototype/initScene.js b/js/prototype/initScene.js index 1ca0bb3..a37e6f7 100644 --- a/js/prototype/initScene.js +++ b/js/prototype/initScene.js @@ -313,6 +313,7 @@ function initWhompScene(scene, collidableObjects, loader, camera) { scene, null, function(object) { + object.raycastable = true; if (object.material.name === 'Shape_088' || object.material.name === 'Shape_089') { object.raycastable = false;