Update locomotion mode with diving option

This commit is contained in:
2026-04-11 22:09:07 +02:00
parent 773ba30d15
commit 51264d7c0e

View File

@@ -79,7 +79,8 @@ export type RuntimeLocomotionMode =
| "grounded"
| "airborne"
| "flying"
| "swimming";
| "swimming"
| "diving";
export type RuntimeAirborneKind = "jumping" | "falling" | null;
export type RuntimeLocomotionGait =
| "idle"
@@ -116,6 +117,7 @@ export interface RuntimeLocomotionState {
export interface RuntimePlayerVolumeState {
inWater: boolean;
inFog: boolean;
waterSurfaceHeight: number | null;
}
export interface RuntimeControllerContext {