Add RuntimePlayerMovement to FirstPersonTelemetry

This commit is contained in:
2026-04-11 18:00:23 +02:00
parent b3946aedb1
commit c8e7b4f77f

View File

@@ -8,6 +8,7 @@ import type {
} from "./player-collision"; } from "./player-collision";
import type { import type {
RuntimeNavigationMode, RuntimeNavigationMode,
RuntimePlayerMovement,
RuntimeSceneDefinition, RuntimeSceneDefinition,
RuntimeSpawnPoint RuntimeSpawnPoint
} from "./runtime-scene-build"; } from "./runtime-scene-build";
@@ -17,6 +18,7 @@ export interface FirstPersonTelemetry {
eyePosition: Vec3; eyePosition: Vec3;
grounded: boolean; grounded: boolean;
locomotionState: RuntimeLocomotionState; locomotionState: RuntimeLocomotionState;
movement: RuntimePlayerMovement;
inWaterVolume: boolean; inWaterVolume: boolean;
cameraSubmerged: boolean; cameraSubmerged: boolean;
inFogVolume: boolean; inFogVolume: boolean;