hm
This commit is contained in:
parent
7455d630fc
commit
4d3fc2cd47
84 changed files with 3429 additions and 3480 deletions
|
|
@ -328,7 +328,6 @@
|
|||
if (!b || !this.world?.nestBoxEntryPoint) {
|
||||
this._nestBoxExitSmoothUntil = -Infinity;
|
||||
this._nestBoxExitDuration = 0;
|
||||
this._nestBoxExitBoxId = "";
|
||||
return false;
|
||||
}
|
||||
const inner = this.world?.nestBoxInnerPoint ? this.world.nestBoxInnerPoint(b, this) : { x: b.x, y: b.y };
|
||||
|
|
@ -346,7 +345,6 @@
|
|||
this._nestBoxExitEndY = Number.isFinite(exit.y) ? exit.y : this._nestBoxExitDoorY;
|
||||
this._nestBoxExitDuration = 0.58;
|
||||
this._nestBoxExitSmoothUntil = now + this._nestBoxExitDuration;
|
||||
this._nestBoxExitBoxId = b.id || "";
|
||||
this.nestFade = Math.max(this.nestFade || 0, 0.96);
|
||||
return true;
|
||||
},
|
||||
|
|
@ -385,7 +383,6 @@
|
|||
this.nestFade = 0;
|
||||
this._nestBoxExitSmoothUntil = -Infinity;
|
||||
this._nestBoxExitDuration = 0;
|
||||
this._nestBoxExitBoxId = "";
|
||||
this._nestBoxExitStartX = this._nestBoxExitStartY = this._nestBoxExitDoorX = this._nestBoxExitDoorY = this._nestBoxExitEndX = this._nestBoxExitEndY = NaN;
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue