Update runtime scene fixture with player movement template
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
import { describe, expect, it } from "vitest";
|
import { describe, expect, it } from "vitest";
|
||||||
|
|
||||||
import { createPlayerStartInputBindings } from "../../src/entities/entity-instances";
|
import {
|
||||||
|
createPlayerStartInputBindings,
|
||||||
|
createPlayerStartMovementTemplate
|
||||||
|
} from "../../src/entities/entity-instances";
|
||||||
import {
|
import {
|
||||||
createPlayAnimationInteractionLink,
|
createPlayAnimationInteractionLink,
|
||||||
createPlaySoundInteractionLink,
|
createPlaySoundInteractionLink,
|
||||||
@@ -129,6 +132,11 @@ function createRuntimeSceneFixture(): RuntimeSceneDefinition {
|
|||||||
height: 1.8,
|
height: 1.8,
|
||||||
eyeHeight: 1.6
|
eyeHeight: 1.6
|
||||||
},
|
},
|
||||||
|
playerMovement: {
|
||||||
|
templateKind: "default",
|
||||||
|
moveSpeed: createPlayerStartMovementTemplate().moveSpeed,
|
||||||
|
capabilities: createPlayerStartMovementTemplate().capabilities
|
||||||
|
},
|
||||||
navigationMode: "thirdPerson",
|
navigationMode: "thirdPerson",
|
||||||
spawn: {
|
spawn: {
|
||||||
source: "fallback",
|
source: "fallback",
|
||||||
|
|||||||
Reference in New Issue
Block a user