Add sceneEntry and sceneExit to entity rotation resolution

This commit is contained in:
2026-04-11 04:39:28 +02:00
parent c6ef980604
commit 8d459c9791

View File

@@ -765,6 +765,7 @@ function resolveEntityRotation(
): EntityTransformRotationState {
switch (entity.kind) {
case "playerStart":
case "sceneEntry":
case "teleportTarget":
return {
kind: "yaw",
@@ -779,6 +780,7 @@ function resolveEntityRotation(
case "soundEmitter":
case "triggerVolume":
case "interactable":
case "sceneExit":
return {
kind: "none"
};