import { createMappedComponent } from '@xrengine/engine/src/ecs/functions/ComponentFunctions' export type FlyControlComponentType = { moveSpeed: number boostSpeed: number lookSensitivity: number maxXRotation: number } /** @todo replace with basic state somewhere instead of a component */ export const FlyControlComponent = createMappedComponent('FlyControlComponent')