Update runtime scene fixture with player movement template
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user