auto-git:

[change] src/runtime-three/runtime-host.ts
 [change] tests/unit/runner-canvas.test.tsx
This commit is contained in:
2026-04-25 03:57:48 +02:00
parent b8e4bd89fa
commit 9e224a4740
2 changed files with 5 additions and 1 deletions

View File

@@ -4649,7 +4649,10 @@ export class RuntimeHost {
this.renderer.autoClear = previousAutoClear;
};
private applyTeleportPlayerAction(target: RuntimeTeleportTarget) {
private applyTeleportPlayerAction(target: {
position: RuntimeTeleportTarget["position"];
yawDegrees: number;
}) {
if (this.activeController === this.thirdPersonController) {
this.thirdPersonController.teleportTo(target.position, target.yawDegrees);
return;