Update runtime scene fixture with player movement template

This commit is contained in:
2026-04-11 18:03:14 +02:00
parent a5c06a4e11
commit 48e8c28af8

View File

@@ -1,6 +1,9 @@
import { describe, expect, it } from "vitest";
import { createPlayerStartInputBindings } from "../../src/entities/entity-instances";
import {
createPlayerStartInputBindings,
createPlayerStartMovementTemplate
} from "../../src/entities/entity-instances";
import {
createPlayAnimationInteractionLink,
createPlaySoundInteractionLink,
@@ -129,6 +132,11 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition {
height: 1.8,
eyeHeight: 1.6
},
playerMovement: {
templateKind: "default",
moveSpeed: createPlayerStartMovementTemplate().moveSpeed,
capabilities: createPlayerStartMovementTemplate().capabilities
},
navigationMode: "thirdPerson",
spawn: {
source: "fallback",