Update movementTemplate kind to custom and add detailed properties
This commit is contained in:
@@ -418,12 +418,25 @@ describe("scene document JSON", () => {
|
|||||||
},
|
},
|
||||||
yawDegrees: 135,
|
yawDegrees: 135,
|
||||||
movementTemplate: {
|
movementTemplate: {
|
||||||
kind: "default",
|
kind: "custom",
|
||||||
moveSpeed: 5.25,
|
moveSpeed: 5.25,
|
||||||
capabilities: {
|
capabilities: {
|
||||||
jump: true,
|
jump: true,
|
||||||
sprint: false,
|
sprint: false,
|
||||||
crouch: true
|
crouch: true
|
||||||
|
},
|
||||||
|
jump: {
|
||||||
|
speed: 8.1,
|
||||||
|
bufferMs: 120,
|
||||||
|
coyoteTimeMs: 90,
|
||||||
|
variableHeight: true,
|
||||||
|
maxHoldMs: 220
|
||||||
|
},
|
||||||
|
sprint: {
|
||||||
|
speedMultiplier: 1.8
|
||||||
|
},
|
||||||
|
crouch: {
|
||||||
|
speedMultiplier: 0.55
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
collider: {
|
collider: {
|
||||||
|
|||||||
Reference in New Issue
Block a user