feat add left hand tracking glove model

This commit is contained in:
Tom Boullay
2026-05-02 00:14:56 +02:00
parent 1d64582383
commit 0cb5f57182
8 changed files with 156 additions and 6 deletions
+2
View File
@@ -8,6 +8,7 @@ import { useCameraMode } from "@/hooks/debug/useCameraMode";
import { useSceneMode } from "@/hooks/debug/useSceneMode";
import { DebugCameraControls } from "@/components/debug/scene/DebugCameraControls";
import { DebugHelpers } from "@/components/debug/scene/DebugHelpers";
import { HandTrackingLeftGlove } from "@/components/three/handTracking/HandTrackingLeftGlove";
import { Environment } from "@/world/Environment";
import { GameMusic } from "@/world/GameMusic";
import { Lighting } from "@/world/Lighting";
@@ -30,6 +31,7 @@ export function World(): React.JSX.Element {
<Environment />
<Lighting />
<DebugHelpers />
{sceneMode === "physics" ? <HandTrackingLeftGlove /> : null}
{cameraMode === "debug" ? <DebugCameraControls /> : null}
{sceneMode === "game" ? (