Remove scene exit handling and related entities

This commit is contained in:
2026-04-15 02:02:08 +02:00
parent 08c64ebe0f
commit 1db3449be4
4 changed files with 27 additions and 40 deletions

View File

@@ -353,7 +353,6 @@ function includeEntity(bounds: FocusBoundsAccumulator, entity: EntityInstance) {
includeTeleportTarget(bounds, entity.position);
break;
case "interactable":
case "sceneExit":
includeSphereEntity(bounds, entity.position, Math.max(0.4, entity.radius));
break;
}
@@ -376,7 +375,6 @@ function createEntityFocusTarget(entity: EntityInstance): ViewportFocusTarget {
case "teleportTarget":
return createTeleportTargetFocusTarget(entity.position);
case "interactable":
case "sceneExit":
return createSphereEntityFocusTarget(entity.position, entity.radius, 0.65);
}
}