Corrected collision bug
This commit is contained in:
parent
ecee155751
commit
00bb56fee8
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue