import { AudioManager } from "@/stateManager/AudioManager"; import { InteractableObject } from "@/components/3d/InteractableObject"; const SPHERE_RADIUS = 0.4; const SPAWN_POSITION: [number, number, number] = [3, 2, -3]; const SOUND_PATH = "/sounds/fa.mp3"; interface TriggerSphereProps { soundPath?: string; } export function TriggerSphere({ soundPath = SOUND_PATH, }: TriggerSphereProps): React.JSX.Element { return ( { AudioManager.getInstance().playSound(soundPath); }} > ); }