@jaimebboyjt/tres-fps-controls
Version:
Easy to use First Person Controls for TresJS
17 lines (16 loc) • 411 B
TypeScript
export declare const STATES: Readonly<{
idle: "idle";
walking: "walking";
running: "running";
jumping: "jumping";
creeping: "creeping";
}>;
export declare const getMovementKey: (keys: any) => (boolean | {
name: string;
key: string;
})[];
export declare const getActionsKey: (keys: any) => (boolean | {
name: string;
key: string;
})[];
export declare const isMobile: boolean;