fix wall collision with saber
This commit is contained in:
@@ -77,7 +77,7 @@ AFRAME.registerComponent('wall', {
|
|||||||
play: function () {
|
play: function () {
|
||||||
this.el.object3D.visible = true;
|
this.el.object3D.visible = true;
|
||||||
this.el.setAttribute('data-collidable-head', '');
|
this.el.setAttribute('data-collidable-head', '');
|
||||||
this.el.setAttribute('raycastable-game');
|
this.el.setAttribute('raycastable-game', '');
|
||||||
},
|
},
|
||||||
|
|
||||||
tock: function (time, timeDelta) {
|
tock: function (time, timeDelta) {
|
||||||
|
|||||||
Reference in New Issue
Block a user