Corrected collision bug

This commit is contained in:
Thomas FORGIONE 2015-06-22 14:44:01 +02:00
parent ecee155751
commit 00bb56fee8
1 changed files with 1 additions and 0 deletions

View File

@ -313,6 +313,7 @@ function initWhompScene(scene, collidableObjects, loader, camera) {
scene, scene,
null, null,
function(object) { function(object) {
object.raycastable = true;
if (object.material.name === 'Shape_088' || if (object.material.name === 'Shape_088' ||
object.material.name === 'Shape_089') { object.material.name === 'Shape_089') {
object.raycastable = false; object.raycastable = false;