Yes baby
This commit is contained in:
parent
16d6cebf51
commit
00d3d8ce10
|
@ -243,7 +243,7 @@ PointerCamera.prototype.isColliding = function(direction) {
|
|||
var intersects = this.raycaster.intersectObjects(this.collidableObjects, true);
|
||||
|
||||
for (var i in intersects) {
|
||||
if (intersects[i].distance < Tools.norm(direction) + this.speed * 100) {
|
||||
if (intersects[i].distance < Tools.norm(direction) + this.speed * 300) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -246,7 +246,7 @@ TutoCamera.prototype.isColliding = function(direction) {
|
|||
var intersects = this.raycaster.intersectObjects(this.collidableObjects, true);
|
||||
|
||||
for (var i in intersects) {
|
||||
if (intersects[i].distance < Tools.norm(direction) + this.speed * 100) {
|
||||
if (intersects[i].distance < Tools.norm(direction) + this.speed * 300) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue